blob: a5ee82785b6ccad31fc0c74fa78a0cffe7e36710 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.430.vert
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
John Kessenich3641ff72020-06-10 07:38:31 -06003// Generated by (magic number): 80009
John Kessenich09677482016-02-19 12:21:50 -07004// Id's are bound by 66
John Kessenichcc16fa02015-12-10 18:01:54 -07005
6 Capability Shader
David Netoa901ffe2016-06-08 14:11:40 +01007 Capability ClipDistance
John Kessenichcc16fa02015-12-10 18:01:54 -07008 1: ExtInstImport "GLSL.std.450"
9 MemoryModel Logical GLSL450
John Kessenich09677482016-02-19 12:21:50 -070010 EntryPoint Vertex 4 "main" 12 23 34 38 41 42 62 65
11 Source GLSL 450
John Kessenichcc16fa02015-12-10 18:01:54 -070012 Name 4 "main"
13 Name 10 "gl_PerVertex"
14 MemberName 10(gl_PerVertex) 0 "gl_ClipDistance"
15 Name 12 ""
16 Name 23 "bad"
17 Name 34 "badorder3"
John Kessenich6c292d32016-02-15 20:58:50 -070018 Name 38 "f"
19 Name 41 "badorder"
20 Name 42 "badorder2"
21 Name 43 "boundblock"
22 MemberName 43(boundblock) 0 "aoeu"
23 Name 45 "boundInst"
24 Name 46 "anonblock"
25 MemberName 46(anonblock) 0 "aoeu"
26 Name 48 ""
27 Name 52 "sampb1"
28 Name 55 "sampb2"
29 Name 56 "sampb4"
30 Name 59 "S"
31 MemberName 59(S) 0 "a"
32 MemberName 59(S) 1 "b"
33 MemberName 59(S) 2 "c"
34 Name 60 "SS"
35 MemberName 60(SS) 0 "b"
36 MemberName 60(SS) 1 "s"
37 MemberName 60(SS) 2 "c"
38 Name 62 "var"
John Kessenich09677482016-02-19 12:21:50 -070039 Name 63 "MS"
40 MemberName 63(MS) 0 "f"
41 Name 65 "outMS"
John Kessenichcc16fa02015-12-10 18:01:54 -070042 MemberDecorate 10(gl_PerVertex) 0 BuiltIn ClipDistance
43 Decorate 10(gl_PerVertex) Block
44 Decorate 34(badorder3) Flat
John Kessenich6c292d32016-02-15 20:58:50 -070045 Decorate 42(badorder2) Invariant
46 MemberDecorate 43(boundblock) 0 Offset 0
47 Decorate 43(boundblock) Block
48 Decorate 45(boundInst) DescriptorSet 0
49 Decorate 45(boundInst) Binding 3
50 MemberDecorate 46(anonblock) 0 Offset 0
51 Decorate 46(anonblock) Block
52 Decorate 48 DescriptorSet 0
53 Decorate 48 Binding 7
54 Decorate 52(sampb1) DescriptorSet 0
55 Decorate 52(sampb1) Binding 4
56 Decorate 55(sampb2) DescriptorSet 0
57 Decorate 55(sampb2) Binding 5
58 Decorate 56(sampb4) DescriptorSet 0
59 Decorate 56(sampb4) Binding 31
John Kessenich54571c22016-08-03 16:41:53 -060060 MemberDecorate 59(S) 0 RelaxedPrecision
Rex Xuc884b4a2016-06-29 15:03:44 +080061 Decorate 62(var) Flat
scygan2c864272016-05-18 18:09:17 +020062 Decorate 62(var) Location 0
John Kessenich09677482016-02-19 12:21:50 -070063 MemberDecorate 63(MS) 0 Location 17
64 Decorate 63(MS) Block
John Kessenichcc16fa02015-12-10 18:01:54 -070065 2: TypeVoid
66 3: TypeFunction 2
67 6: TypeFloat 32
68 7: TypeInt 32 0
69 8: 7(int) Constant 3
70 9: TypeArray 6(float) 8
7110(gl_PerVertex): TypeStruct 9
72 11: TypePointer Output 10(gl_PerVertex)
73 12: 11(ptr) Variable Output
74 13: TypeInt 32 1
75 14: 13(int) Constant 0
76 15: 13(int) Constant 2
77 16: 6(float) Constant 1080872141
78 17: TypePointer Output 6(float)
79 19: TypeVector 6(float) 4
80 20: 7(int) Constant 10
81 21: TypeArray 19(fvec4) 20
82 22: TypePointer Input 21
83 23(bad): 22(ptr) Variable Input
84 24: 7(int) Constant 0
85 25: TypePointer Input 6(float)
86 28: 6(float) Constant 1082549862
87 29: TypeBool
88 33: TypePointer Output 19(fvec4)
89 34(badorder3): 33(ptr) Variable Output
90 35: TypePointer Input 19(fvec4)
John Kessenich6c292d32016-02-15 20:58:50 -070091 38(f): 25(ptr) Variable Input
92 41(badorder): 35(ptr) Variable Input
93 42(badorder2): 33(ptr) Variable Output
94 43(boundblock): TypeStruct 13(int)
95 44: TypePointer Uniform 43(boundblock)
96 45(boundInst): 44(ptr) Variable Uniform
97 46(anonblock): TypeStruct 13(int)
98 47: TypePointer Uniform 46(anonblock)
99 48: 47(ptr) Variable Uniform
100 49: TypeImage 6(float) 2D sampled format:Unknown
101 50: TypeSampledImage 49
102 51: TypePointer UniformConstant 50
103 52(sampb1): 51(ptr) Variable UniformConstant
104 53: TypeArray 50 20
John Kessenichcc16fa02015-12-10 18:01:54 -0700105 54: TypePointer UniformConstant 53
John Kessenich6c292d32016-02-15 20:58:50 -0700106 55(sampb2): 54(ptr) Variable UniformConstant
107 56(sampb4): 51(ptr) Variable UniformConstant
108 57: TypeVector 7(int) 2
109 58: TypeVector 6(float) 3
110 59(S): TypeStruct 6(float) 57(ivec2) 58(fvec3)
111 60(SS): TypeStruct 19(fvec4) 59(S) 19(fvec4)
112 61: TypePointer Output 60(SS)
113 62(var): 61(ptr) Variable Output
John Kessenich09677482016-02-19 12:21:50 -0700114 63(MS): TypeStruct 6(float)
115 64: TypePointer Output 63(MS)
116 65(outMS): 64(ptr) Variable Output
John Kessenichcc16fa02015-12-10 18:01:54 -0700117 4(main): 2 Function None 3
118 5: Label
119 18: 17(ptr) AccessChain 12 14 15
120 Store 18 16
121 26: 25(ptr) AccessChain 23(bad) 14 24
122 27: 6(float) Load 26
123 30: 29(bool) FOrdEqual 27 28
124 SelectionMerge 32 None
125 BranchConditional 30 31 32
126 31: Label
127 36: 35(ptr) AccessChain 23(bad) 14
128 37: 19(fvec4) Load 36
129 Store 34(badorder3) 37
130 Branch 32
131 32: Label
John Kessenich6c292d32016-02-15 20:58:50 -0700132 39: 6(float) Load 38(f)
133 40: 17(ptr) AccessChain 12 14 14
134 Store 40 39
John Kessenichcc16fa02015-12-10 18:01:54 -0700135 Return
136 FunctionEnd