• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.xfbStrideJustOnce.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
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  "block"
15                              MemberName 8(block) 0  "y1_out"
16                              MemberName 8(block) 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                              Decorate 8(block) Block
27                              Decorate 10 Location 5
28                              Decorate 10 XfbBuffer 2
29                              Decorate 10 XfbStride 20
30                              MemberDecorate 25(gl_PerVertex) 0 BuiltIn Position
31                              MemberDecorate 25(gl_PerVertex) 1 BuiltIn PointSize
32                              MemberDecorate 25(gl_PerVertex) 2 BuiltIn ClipDistance
33                              MemberDecorate 25(gl_PerVertex) 3 BuiltIn CullDistance
34                              Decorate 25(gl_PerVertex) Block
35                              Decorate 27 XfbBuffer 0
36                              Decorate 27 XfbStride 0
37                              Decorate 31(gl_VertexID) BuiltIn VertexId
38                              Decorate 32(gl_InstanceID) BuiltIn InstanceId
39               2:             TypeVoid
40               3:             TypeFunction 2
41               6:             TypeFloat 32
42               7:             TypeVector 6(float) 4
43        8(block):             TypeStruct 6(float) 7(fvec4)
44               9:             TypePointer Output 8(block)
45              10:      9(ptr) Variable Output
46              11:             TypeInt 32 1
47              12:     11(int) Constant 0
48              13:    6(float) Constant 1088421888
49              14:             TypePointer Output 6(float)
50              16:     11(int) Constant 1
51              17:    6(float) Constant 1065353216
52              18:    6(float) Constant 0
53              19:    7(fvec4) ConstantComposite 17 18 18 17
54              20:             TypePointer Output 7(fvec4)
55              22:             TypeInt 32 0
56              23:     22(int) Constant 1
57              24:             TypeArray 6(float) 23
5825(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 24 24
59              26:             TypePointer Output 25(gl_PerVertex)
60              27:     26(ptr) Variable Output
61              28:    7(fvec4) ConstantComposite 18 18 18 18
62              30:             TypePointer Input 11(int)
63 31(gl_VertexID):     30(ptr) Variable Input
6432(gl_InstanceID):     30(ptr) Variable Input
65         4(main):           2 Function None 3
66               5:             Label
67              15:     14(ptr) AccessChain 10 12
68                              Store 15 13
69              21:     20(ptr) AccessChain 10 16
70                              Store 21 19
71              29:     20(ptr) AccessChain 27 12
72                              Store 29 28
73                              Return
74                              FunctionEnd
75