Home | History | Annotate | Download | only in baseResults
      1 spv.xfbOffsetOnStructMembersAssignment.vert
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 40
      5 
      6                               Capability Shader
      7                               Capability TransformFeedback
      8                1:             ExtInstImport  "GLSL.std.450"
      9                               MemoryModel Logical GLSL450
     10                               EntryPoint Vertex 4  "main" 9 21 34 38 39
     11                               ExecutionMode 4 Xfb
     12                               Source GLSL 450
     13                               Name 4  "main"
     14                               Name 7  "S"
     15                               MemberName 7(S) 0  "x1_out"
     16                               MemberName 7(S) 1  "x2_out"
     17                               Name 9  "s1"
     18                               Name 19  "S2"
     19                               MemberName 19(S2) 0  "y1_out"
     20                               MemberName 19(S2) 1  "y2_out"
     21                               Name 21  "s2"
     22                               Name 32  "gl_PerVertex"
     23                               MemberName 32(gl_PerVertex) 0  "gl_Position"
     24                               MemberName 32(gl_PerVertex) 1  "gl_PointSize"
     25                               MemberName 32(gl_PerVertex) 2  "gl_ClipDistance"
     26                               MemberName 32(gl_PerVertex) 3  "gl_CullDistance"
     27                               Name 34  ""
     28                               Name 38  "gl_VertexID"
     29                               Name 39  "gl_InstanceID"
     30                               MemberDecorate 7(S) 0 Offset 16
     31                               MemberDecorate 7(S) 1 Offset 20
     32                               Decorate 9(s1) Location 0
     33                               Decorate 9(s1) XfbBuffer 2
     34                               Decorate 9(s1) XfbStride 24
     35                               MemberDecorate 19(S2) 0 Offset 8
     36                               MemberDecorate 19(S2) 1 Offset 12
     37                               Decorate 21(s2) Location 5
     38                               Decorate 21(s2) XfbBuffer 1
     39                               Decorate 21(s2) XfbStride 28
     40                               MemberDecorate 32(gl_PerVertex) 0 BuiltIn Position
     41                               MemberDecorate 32(gl_PerVertex) 1 BuiltIn PointSize
     42                               MemberDecorate 32(gl_PerVertex) 2 BuiltIn ClipDistance
     43                               MemberDecorate 32(gl_PerVertex) 3 BuiltIn CullDistance
     44                               Decorate 32(gl_PerVertex) Block
     45                               Decorate 34 XfbBuffer 0
     46                               Decorate 34 XfbStride 0
     47                               Decorate 38(gl_VertexID) BuiltIn VertexId
     48                               Decorate 39(gl_InstanceID) BuiltIn InstanceId
     49                2:             TypeVoid
     50                3:             TypeFunction 2
     51                6:             TypeFloat 32
     52             7(S):             TypeStruct 6(float) 6(float)
     53                8:             TypePointer Output 7(S)
     54            9(s1):      8(ptr) Variable Output
     55               10:             TypeInt 32 1
     56               11:     10(int) Constant 0
     57               12:    6(float) Constant 1084227584
     58               13:             TypePointer Output 6(float)
     59               15:     10(int) Constant 1
     60               16:    6(float) Constant 1086324736
     61               18:             TypeVector 6(float) 4
     62           19(S2):             TypeStruct 6(float) 18(fvec4)
     63               20:             TypePointer Output 19(S2)
     64           21(s2):     20(ptr) Variable Output
     65               22:    6(float) Constant 1088421888
     66               24:    6(float) Constant 1065353216
     67               25:    6(float) Constant 0
     68               26:   18(fvec4) ConstantComposite 24 25 25 24
     69               27:             TypePointer Output 18(fvec4)
     70               29:             TypeInt 32 0
     71               30:     29(int) Constant 1
     72               31:             TypeArray 6(float) 30
     73 32(gl_PerVertex):             TypeStruct 18(fvec4) 6(float) 31 31
     74               33:             TypePointer Output 32(gl_PerVertex)
     75               34:     33(ptr) Variable Output
     76               35:   18(fvec4) ConstantComposite 25 25 25 25
     77               37:             TypePointer Input 10(int)
     78  38(gl_VertexID):     37(ptr) Variable Input
     79 39(gl_InstanceID):     37(ptr) Variable Input
     80          4(main):           2 Function None 3
     81                5:             Label
     82               14:     13(ptr) AccessChain 9(s1) 11
     83                               Store 14 12
     84               17:     13(ptr) AccessChain 9(s1) 15
     85                               Store 17 16
     86               23:     13(ptr) AccessChain 21(s2) 11
     87                               Store 23 22
     88               28:     27(ptr) AccessChain 21(s2) 15
     89                               Store 28 26
     90               36:     27(ptr) AccessChain 34 11
     91                               Store 36 35
     92                               Return
     93                               FunctionEnd
     94