• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.builtInXFB.vert
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 21
5
6                              Capability Shader
7                              Capability TransformFeedback
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Vertex 4  "main" 10
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                              MemberName 8(gl_PerVertex) 1  "gl_PointSize"
17                              Name 10  ""
18                              MemberDecorate 8(gl_PerVertex) 0 Offset 20
19                              MemberDecorate 8(gl_PerVertex) 0 BuiltIn Position
20                              MemberDecorate 8(gl_PerVertex) 1 Offset 16
21                              MemberDecorate 8(gl_PerVertex) 1 BuiltIn PointSize
22                              Decorate 8(gl_PerVertex) Block
23                              Decorate 10 XfbBuffer 1
24                              Decorate 10 XfbStride 64
25               2:             TypeVoid
26               3:             TypeFunction 2
27               6:             TypeFloat 32
28               7:             TypeVector 6(float) 4
29 8(gl_PerVertex):             TypeStruct 7(fvec4) 6(float)
30               9:             TypePointer Output 8(gl_PerVertex)
31              10:      9(ptr) Variable Output
32              11:             TypeInt 32 1
33              12:     11(int) Constant 0
34              13:    6(float) Constant 1065353216
35              14:    7(fvec4) ConstantComposite 13 13 13 13
36              15:             TypePointer Output 7(fvec4)
37              17:     11(int) Constant 1
38              18:    6(float) Constant 1073741824
39              19:             TypePointer Output 6(float)
40         4(main):           2 Function None 3
41               5:             Label
42              16:     15(ptr) AccessChain 10 12
43                              Store 16 14
44              20:     19(ptr) AccessChain 10 17
45                              Store 20 18
46                              Return
47                              FunctionEnd
48