• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.430.vert
2Validation failed
3// Module Version 10000
4// Generated by (magic number): 8000a
5// Id's are bound by 66
6
7                              Capability Shader
8                              Capability ClipDistance
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Vertex 4  "main" 12 23 34 38 41 42 62 65
12                              Source GLSL 450
13                              Name 4  "main"
14                              Name 10  "gl_PerVertex"
15                              MemberName 10(gl_PerVertex) 0  "gl_ClipDistance"
16                              Name 12  ""
17                              Name 23  "bad"
18                              Name 34  "badorder3"
19                              Name 38  "f"
20                              Name 41  "badorder"
21                              Name 42  "badorder2"
22                              Name 43  "boundblock"
23                              MemberName 43(boundblock) 0  "aoeu"
24                              Name 45  "boundInst"
25                              Name 46  "anonblock"
26                              MemberName 46(anonblock) 0  "aoeu"
27                              Name 48  ""
28                              Name 52  "sampb1"
29                              Name 55  "sampb2"
30                              Name 56  "sampb4"
31                              Name 59  "S"
32                              MemberName 59(S) 0  "a"
33                              MemberName 59(S) 1  "b"
34                              MemberName 59(S) 2  "c"
35                              Name 60  "SS"
36                              MemberName 60(SS) 0  "b"
37                              MemberName 60(SS) 1  "s"
38                              MemberName 60(SS) 2  "c"
39                              Name 62  "var"
40                              Name 63  "MS"
41                              MemberName 63(MS) 0  "f"
42                              Name 65  "outMS"
43                              MemberDecorate 10(gl_PerVertex) 0 BuiltIn ClipDistance
44                              Decorate 10(gl_PerVertex) Block
45                              Decorate 23(bad) Location 0
46                              Decorate 34(badorder3) Flat
47                              Decorate 34(badorder3) Location 1
48                              Decorate 38(f) Location 11
49                              Decorate 41(badorder) Location 10
50                              Decorate 42(badorder2) Location 0
51                              Decorate 42(badorder2) Invariant
52                              MemberDecorate 43(boundblock) 0 Offset 0
53                              Decorate 43(boundblock) Block
54                              Decorate 45(boundInst) DescriptorSet 0
55                              Decorate 45(boundInst) Binding 3
56                              MemberDecorate 46(anonblock) 0 Offset 0
57                              Decorate 46(anonblock) Block
58                              Decorate 48 DescriptorSet 0
59                              Decorate 48 Binding 7
60                              Decorate 52(sampb1) DescriptorSet 0
61                              Decorate 52(sampb1) Binding 4
62                              Decorate 55(sampb2) DescriptorSet 0
63                              Decorate 55(sampb2) Binding 5
64                              Decorate 56(sampb4) DescriptorSet 0
65                              Decorate 56(sampb4) Binding 31
66                              MemberDecorate 59(S) 0 RelaxedPrecision
67                              Decorate 62(var) Flat
68                              Decorate 62(var) Location 0
69                              MemberDecorate 63(MS) 0 Location 17
70                              Decorate 63(MS) Block
71                              Decorate 65(outMS) Location 2
72               2:             TypeVoid
73               3:             TypeFunction 2
74               6:             TypeFloat 32
75               7:             TypeInt 32 0
76               8:      7(int) Constant 3
77               9:             TypeArray 6(float) 8
7810(gl_PerVertex):             TypeStruct 9
79              11:             TypePointer Output 10(gl_PerVertex)
80              12:     11(ptr) Variable Output
81              13:             TypeInt 32 1
82              14:     13(int) Constant 0
83              15:     13(int) Constant 2
84              16:    6(float) Constant 1080872141
85              17:             TypePointer Output 6(float)
86              19:             TypeVector 6(float) 4
87              20:      7(int) Constant 10
88              21:             TypeArray 19(fvec4) 20
89              22:             TypePointer Input 21
90         23(bad):     22(ptr) Variable Input
91              24:      7(int) Constant 0
92              25:             TypePointer Input 6(float)
93              28:    6(float) Constant 1082549862
94              29:             TypeBool
95              33:             TypePointer Output 19(fvec4)
96   34(badorder3):     33(ptr) Variable Output
97              35:             TypePointer Input 19(fvec4)
98           38(f):     25(ptr) Variable Input
99    41(badorder):     35(ptr) Variable Input
100   42(badorder2):     33(ptr) Variable Output
101  43(boundblock):             TypeStruct 13(int)
102              44:             TypePointer Uniform 43(boundblock)
103   45(boundInst):     44(ptr) Variable Uniform
104   46(anonblock):             TypeStruct 13(int)
105              47:             TypePointer Uniform 46(anonblock)
106              48:     47(ptr) Variable Uniform
107              49:             TypeImage 6(float) 2D sampled format:Unknown
108              50:             TypeSampledImage 49
109              51:             TypePointer UniformConstant 50
110      52(sampb1):     51(ptr) Variable UniformConstant
111              53:             TypeArray 50 20
112              54:             TypePointer UniformConstant 53
113      55(sampb2):     54(ptr) Variable UniformConstant
114      56(sampb4):     51(ptr) Variable UniformConstant
115              57:             TypeVector 7(int) 2
116              58:             TypeVector 6(float) 3
117           59(S):             TypeStruct 6(float) 57(ivec2) 58(fvec3)
118          60(SS):             TypeStruct 19(fvec4) 59(S) 19(fvec4)
119              61:             TypePointer Output 60(SS)
120         62(var):     61(ptr) Variable Output
121          63(MS):             TypeStruct 6(float)
122              64:             TypePointer Output 63(MS)
123       65(outMS):     64(ptr) Variable Output
124         4(main):           2 Function None 3
125               5:             Label
126              18:     17(ptr) AccessChain 12 14 15
127                              Store 18 16
128              26:     25(ptr) AccessChain 23(bad) 14 24
129              27:    6(float) Load 26
130              30:    29(bool) FOrdEqual 27 28
131                              SelectionMerge 32 None
132                              BranchConditional 30 31 32
133              31:               Label
134              36:     35(ptr)   AccessChain 23(bad) 14
135              37:   19(fvec4)   Load 36
136                                Store 34(badorder3) 37
137                                Branch 32
138              32:             Label
139              39:    6(float) Load 38(f)
140              40:     17(ptr) AccessChain 12 14 14
141                              Store 40 39
142                              Return
143                              FunctionEnd
144