Home | History | Annotate | Download | only in baseResults
      1 spv.xfb3.vert
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 35
      5 
      6                               Capability Shader
      7                               Capability TransformFeedback
      8                1:             ExtInstImport  "GLSL.std.450"
      9                               MemoryModel Logical GLSL450
     10                               EntryPoint Vertex 4  "main" 10 14
     11                               ExecutionMode 4 Xfb
     12                               Source GLSL 450
     13                               Name 4  "main"
     14                               Name 8  "gl_PerVertex"
     15                               MemberName 8(gl_PerVertex) 0  "gl_Position"
     16                               Name 10  ""
     17                               Name 14  "position"
     18                               Name 17  "ComponentsBlock"
     19                               MemberName 17(ComponentsBlock) 0  "c1"
     20                               MemberName 17(ComponentsBlock) 1  "c2"
     21                               Name 19  "components"
     22                               MemberDecorate 8(gl_PerVertex) 0 Offset 16
     23                               MemberDecorate 8(gl_PerVertex) 0 BuiltIn Position
     24                               Decorate 8(gl_PerVertex) Block
     25                               Decorate 10 XfbBuffer 3
     26                               Decorate 10 XfbStride 80
     27                               Decorate 14(position) Location 0
     28                               MemberDecorate 17(ComponentsBlock) 0 Offset 0
     29                               MemberDecorate 17(ComponentsBlock) 1 Offset 16
     30                               Decorate 17(ComponentsBlock) Block
     31                               Decorate 19(components) DescriptorSet 0
     32                               Decorate 19(components) Binding 5
     33                2:             TypeVoid
     34                3:             TypeFunction 2
     35                6:             TypeFloat 32
     36                7:             TypeVector 6(float) 4
     37  8(gl_PerVertex):             TypeStruct 7(fvec4)
     38                9:             TypePointer Output 8(gl_PerVertex)
     39               10:      9(ptr) Variable Output
     40               11:             TypeInt 32 1
     41               12:     11(int) Constant 0
     42               13:             TypePointer Input 7(fvec4)
     43     14(position):     13(ptr) Variable Input
     44               16:             TypeVector 6(float) 2
     45 17(ComponentsBlock):             TypeStruct 7(fvec4) 16(fvec2)
     46               18:             TypePointer Uniform 17(ComponentsBlock)
     47   19(components):     18(ptr) Variable Uniform
     48               20:             TypePointer Uniform 7(fvec4)
     49               24:     11(int) Constant 1
     50               25:             TypePointer Uniform 16(fvec2)
     51               28:    6(float) Constant 0
     52               33:             TypePointer Output 7(fvec4)
     53          4(main):           2 Function None 3
     54                5:             Label
     55               15:    7(fvec4) Load 14(position)
     56               21:     20(ptr) AccessChain 19(components) 12
     57               22:    7(fvec4) Load 21
     58               23:    7(fvec4) FAdd 15 22
     59               26:     25(ptr) AccessChain 19(components) 24
     60               27:   16(fvec2) Load 26
     61               29:    6(float) CompositeExtract 27 0
     62               30:    6(float) CompositeExtract 27 1
     63               31:    7(fvec4) CompositeConstruct 29 30 28 28
     64               32:    7(fvec4) FAdd 23 31
     65               34:     33(ptr) AccessChain 10 12
     66                               Store 34 32
     67                               Return
     68                               FunctionEnd
     69