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