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