1spv.1.4.load.bool.array.interface.block.frag
2Validation failed
3// Module Version 10400
4// Generated by (magic number): 8000b
5// Id's are bound by 64
6
7                              Capability Shader
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 13 20 61
11                              ExecutionMode 4 OriginUpperLeft
12                              Source GLSL 450
13                              Name 4  "main"
14                              Name 11  "ssbo"
15                              MemberName 11(ssbo) 0  "bo"
16                              Name 13  ""
17                              Name 18  "ub"
18                              MemberName 18(ub) 0  "bi"
19                              Name 20  ""
20                              Name 61  "color"
21                              Decorate 8 ArrayStride 4
22                              Decorate 10 ArrayStride 12
23                              Decorate 11(ssbo) Block
24                              MemberDecorate 11(ssbo) 0 Offset 0
25                              Decorate 13 Binding 1
26                              Decorate 13 DescriptorSet 0
27                              Decorate 16 ArrayStride 16
28                              Decorate 17 ArrayStride 48
29                              Decorate 18(ub) Block
30                              MemberDecorate 18(ub) 0 Offset 0
31                              Decorate 20 Binding 0
32                              Decorate 20 DescriptorSet 0
33                              Decorate 61(color) Location 0
34               2:             TypeVoid
35               3:             TypeFunction 2
36               6:             TypeInt 32 0
37               7:      6(int) Constant 3
38               8:             TypeArray 6(int) 7
39               9:      6(int) Constant 2
40              10:             TypeArray 8 9
41        11(ssbo):             TypeStruct 10
42              12:             TypePointer StorageBuffer 11(ssbo)
43              13:     12(ptr) Variable StorageBuffer
44              14:             TypeInt 32 1
45              15:     14(int) Constant 0
46              16:             TypeArray 6(int) 7
47              17:             TypeArray 16 9
48          18(ub):             TypeStruct 17
49              19:             TypePointer Uniform 18(ub)
50              20:     19(ptr) Variable Uniform
51              21:             TypePointer Uniform 17
52              24:             TypeBool
53              25:             TypeArray 24(bool) 7
54              26:             TypeArray 25 9
55              28:             TypePointer StorageBuffer 10
56              31:             TypePointer StorageBuffer 8
57              34:      6(int) Constant 1
58              35:      6(int) Constant 0
59              37:             TypePointer StorageBuffer 6(int)
60              40:     14(int) Constant 1
61              44:     14(int) Constant 2
62              58:             TypeFloat 32
63              59:             TypeVector 58(float) 4
64              60:             TypePointer Output 59(fvec4)
65       61(color):     60(ptr) Variable Output
66              62:   58(float) Constant 0
67              63:   59(fvec4) ConstantComposite 62 62 62 62
68         4(main):           2 Function None 3
69               5:             Label
70              22:     21(ptr) AccessChain 20 15
71              23:          17 Load 22
72              27:          26 CopyLogical 23
73              29:     28(ptr) AccessChain 13 15
74              30:          25 CompositeExtract 27 0
75              32:     31(ptr) AccessChain 29 15
76              33:    24(bool) CompositeExtract 30 0
77              36:      6(int) Select 33 34 35
78              38:     37(ptr) AccessChain 32 15
79                              Store 38 36
80              39:    24(bool) CompositeExtract 30 1
81              41:      6(int) Select 39 34 35
82              42:     37(ptr) AccessChain 32 40
83                              Store 42 41
84              43:    24(bool) CompositeExtract 30 2
85              45:      6(int) Select 43 34 35
86              46:     37(ptr) AccessChain 32 44
87                              Store 46 45
88              47:          25 CompositeExtract 27 1
89              48:     31(ptr) AccessChain 29 40
90              49:    24(bool) CompositeExtract 47 0
91              50:      6(int) Select 49 34 35
92              51:     37(ptr) AccessChain 48 15
93                              Store 51 50
94              52:    24(bool) CompositeExtract 47 1
95              53:      6(int) Select 52 34 35
96              54:     37(ptr) AccessChain 48 40
97                              Store 54 53
98              55:    24(bool) CompositeExtract 47 2
99              56:      6(int) Select 55 34 35
100              57:     37(ptr) AccessChain 48 44
101                              Store 57 56
102                              Store 61(color) 63
103                              Return
104                              FunctionEnd
105