aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/spv.1.4.load.bool.array.interface.block.frag.out
blob: fea83ab3897c8860a0c1738484c86f86c0c08df5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
spv.1.4.load.bool.array.interface.block.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 8000b
// Id's are bound by 64

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 13 20 61
                              ExecutionMode 4 OriginUpperLeft
                              Source GLSL 450
                              Name 4  "main"
                              Name 11  "ssbo"
                              MemberName 11(ssbo) 0  "bo"
                              Name 13  ""
                              Name 18  "ub"
                              MemberName 18(ub) 0  "bi"
                              Name 20  ""
                              Name 61  "color"
                              Decorate 8 ArrayStride 4
                              Decorate 10 ArrayStride 12
                              MemberDecorate 11(ssbo) 0 Offset 0
                              Decorate 11(ssbo) Block
                              Decorate 13 DescriptorSet 0
                              Decorate 13 Binding 1
                              Decorate 16 ArrayStride 16
                              Decorate 17 ArrayStride 48
                              MemberDecorate 18(ub) 0 Offset 0
                              Decorate 18(ub) Block
                              Decorate 20 DescriptorSet 0
                              Decorate 20 Binding 0
                              Decorate 61(color) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 0
               7:      6(int) Constant 3
               8:             TypeArray 6(int) 7
               9:      6(int) Constant 2
              10:             TypeArray 8 9
        11(ssbo):             TypeStruct 10
              12:             TypePointer StorageBuffer 11(ssbo)
              13:     12(ptr) Variable StorageBuffer
              14:             TypeInt 32 1
              15:     14(int) Constant 0
              16:             TypeArray 6(int) 7
              17:             TypeArray 16 9
          18(ub):             TypeStruct 17
              19:             TypePointer Uniform 18(ub)
              20:     19(ptr) Variable Uniform
              21:             TypePointer Uniform 17
              24:             TypeBool
              25:             TypeArray 24(bool) 7
              26:             TypeArray 25 9
              28:             TypePointer StorageBuffer 10
              31:             TypePointer StorageBuffer 8
              34:      6(int) Constant 1
              35:      6(int) Constant 0
              37:             TypePointer StorageBuffer 6(int)
              40:     14(int) Constant 1
              44:     14(int) Constant 2
              58:             TypeFloat 32
              59:             TypeVector 58(float) 4
              60:             TypePointer Output 59(fvec4)
       61(color):     60(ptr) Variable Output
              62:   58(float) Constant 0
              63:   59(fvec4) ConstantComposite 62 62 62 62
         4(main):           2 Function None 3
               5:             Label
              22:     21(ptr) AccessChain 20 15
              23:          17 Load 22
              27:          26 CopyLogical 23
              29:     28(ptr) AccessChain 13 15
              30:          25 CompositeExtract 27 0
              32:     31(ptr) AccessChain 29 15
              33:    24(bool) CompositeExtract 30 0
              36:      6(int) Select 33 34 35
              38:     37(ptr) AccessChain 32 15
                              Store 38 36
              39:    24(bool) CompositeExtract 30 1
              41:      6(int) Select 39 34 35
              42:     37(ptr) AccessChain 32 40
                              Store 42 41
              43:    24(bool) CompositeExtract 30 2
              45:      6(int) Select 43 34 35
              46:     37(ptr) AccessChain 32 44
                              Store 46 45
              47:          25 CompositeExtract 27 1
              48:     31(ptr) AccessChain 29 40
              49:    24(bool) CompositeExtract 47 0
              50:      6(int) Select 49 34 35
              51:     37(ptr) AccessChain 48 15
                              Store 51 50
              52:    24(bool) CompositeExtract 47 1
              53:      6(int) Select 52 34 35
              54:     37(ptr) AccessChain 48 40
                              Store 54 53
              55:    24(bool) CompositeExtract 47 2
              56:      6(int) Select 55 34 35
              57:     37(ptr) AccessChain 48 44
                              Store 57 56
                              Store 61(color) 63
                              Return
                              FunctionEnd