• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.noBuiltInLoc.vert
2// Module Version 10000
3// Generated by (magic number): 80008
4// Id's are bound by 35
5
6                              Capability Shader
7                              Capability AtomicStorage
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Vertex 4  "main" 9 11 18 33 34
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 9  "bar"
14                              Name 11  "foo"
15                              Name 16  "gl_PerVertex"
16                              MemberName 16(gl_PerVertex) 0  "gl_Position"
17                              MemberName 16(gl_PerVertex) 1  "gl_PointSize"
18                              MemberName 16(gl_PerVertex) 2  "gl_ClipDistance"
19                              MemberName 16(gl_PerVertex) 3  "gl_CullDistance"
20                              Name 18  ""
21                              Name 24  "uv1"
22                              Name 26  "uv2"
23                              Name 29  "uv3"
24                              Name 31  "a_uint"
25                              Name 33  "gl_VertexID"
26                              Name 34  "gl_InstanceID"
27                              Decorate 9(bar) Location 0
28                              Decorate 11(foo) Location 0
29                              MemberDecorate 16(gl_PerVertex) 0 BuiltIn Position
30                              MemberDecorate 16(gl_PerVertex) 1 BuiltIn PointSize
31                              MemberDecorate 16(gl_PerVertex) 2 BuiltIn ClipDistance
32                              MemberDecorate 16(gl_PerVertex) 3 BuiltIn CullDistance
33                              Decorate 16(gl_PerVertex) Block
34                              Decorate 24(uv1) Location 0
35                              Decorate 24(uv1) DescriptorSet 0
36                              Decorate 26(uv2) Location 1
37                              Decorate 26(uv2) DescriptorSet 0
38                              Decorate 29(uv3) Location 2
39                              Decorate 29(uv3) DescriptorSet 0
40                              Decorate 31(a_uint) Offset 0
41                              Decorate 31(a_uint) DescriptorSet 0
42                              Decorate 31(a_uint) Binding 0
43                              Decorate 33(gl_VertexID) BuiltIn VertexId
44                              Decorate 34(gl_InstanceID) BuiltIn InstanceId
45               2:             TypeVoid
46               3:             TypeFunction 2
47               6:             TypeFloat 32
48               7:             TypeVector 6(float) 4
49               8:             TypePointer Output 7(fvec4)
50          9(bar):      8(ptr) Variable Output
51              10:             TypePointer Input 7(fvec4)
52         11(foo):     10(ptr) Variable Input
53              13:             TypeInt 32 0
54              14:     13(int) Constant 1
55              15:             TypeArray 6(float) 14
5616(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 15 15
57              17:             TypePointer Output 16(gl_PerVertex)
58              18:     17(ptr) Variable Output
59              19:             TypeInt 32 1
60              20:     19(int) Constant 0
61              23:             TypePointer UniformConstant 7(fvec4)
62         24(uv1):     23(ptr) Variable UniformConstant
63              25:             TypePointer UniformConstant 6(float)
64         26(uv2):     25(ptr) Variable UniformConstant
65              27:             TypeVector 6(float) 3
66              28:             TypePointer UniformConstant 27(fvec3)
67         29(uv3):     28(ptr) Variable UniformConstant
68              30:             TypePointer AtomicCounter 13(int)
69      31(a_uint):     30(ptr) Variable AtomicCounter
70              32:             TypePointer Input 19(int)
71 33(gl_VertexID):     32(ptr) Variable Input
7234(gl_InstanceID):     32(ptr) Variable Input
73         4(main):           2 Function None 3
74               5:             Label
75              12:    7(fvec4) Load 11(foo)
76                              Store 9(bar) 12
77              21:    7(fvec4) Load 11(foo)
78              22:      8(ptr) AccessChain 18 20
79                              Store 22 21
80                              Return
81                              FunctionEnd
82