02e379c3a94750835612b8c38ab9976ca6f804c2
[platform/upstream/glslang.git] / Test / baseResults / spv.1.4.image.frag.out
1 spv.1.4.image.frag
2 Validation failed
3 // Module Version 10400
4 // Generated by (magic number): 80007
5 // Id's are bound by 104
6
7                               Capability Shader
8                               Capability StorageImageMultisample
9                1:             ExtInstImport  "GLSL.std.450"
10                               MemoryModel Logical GLSL450
11                               EntryPoint Fragment 4  "main" 26 30 40 52 64 77 89 100 103
12                               ExecutionMode 4 OriginUpperLeft
13                               Source GLSL 450
14                               Name 4  "main"
15                               Name 9  "v"
16                               Name 15  "iv"
17                               Name 21  "uv"
18                               Name 26  "i2D"
19                               Name 30  "ic2D"
20                               Name 40  "ii2D"
21                               Name 52  "ui2D"
22                               Name 64  "i2DMS"
23                               Name 77  "ii2DMS"
24                               Name 89  "ui2DMS"
25                               Name 100  "fragData"
26                               Name 103  "value"
27                               Decorate 26(i2D) DescriptorSet 0
28                               Decorate 26(i2D) Binding 1
29                               Decorate 30(ic2D) Flat
30                               Decorate 40(ii2D) DescriptorSet 0
31                               Decorate 40(ii2D) Binding 12
32                               Decorate 52(ui2D) DescriptorSet 0
33                               Decorate 52(ui2D) Binding 12
34                               Decorate 64(i2DMS) DescriptorSet 0
35                               Decorate 64(i2DMS) Binding 9
36                               Decorate 77(ii2DMS) DescriptorSet 0
37                               Decorate 77(ii2DMS) Binding 13
38                               Decorate 89(ui2DMS) DescriptorSet 0
39                               Decorate 89(ui2DMS) Binding 13
40                               Decorate 103(value) Flat
41                2:             TypeVoid
42                3:             TypeFunction 2
43                6:             TypeFloat 32
44                7:             TypeVector 6(float) 4
45                8:             TypePointer Function 7(fvec4)
46               10:    6(float) Constant 0
47               11:    7(fvec4) ConstantComposite 10 10 10 10
48               12:             TypeInt 32 1
49               13:             TypeVector 12(int) 4
50               14:             TypePointer Function 13(ivec4)
51               16:     12(int) Constant 0
52               17:   13(ivec4) ConstantComposite 16 16 16 16
53               18:             TypeInt 32 0
54               19:             TypeVector 18(int) 4
55               20:             TypePointer Function 19(ivec4)
56               22:     18(int) Constant 0
57               23:   19(ivec4) ConstantComposite 22 22 22 22
58               24:             TypeImage 6(float) 2D nonsampled format:Rgba32f
59               25:             TypePointer UniformConstant 24
60          26(i2D):     25(ptr) Variable UniformConstant
61               28:             TypeVector 12(int) 2
62               29:             TypePointer Input 28(ivec2)
63         30(ic2D):     29(ptr) Variable Input
64               38:             TypeImage 12(int) 2D nonsampled format:R32i
65               39:             TypePointer UniformConstant 38
66         40(ii2D):     39(ptr) Variable UniformConstant
67               50:             TypeImage 18(int) 2D nonsampled format:R32ui
68               51:             TypePointer UniformConstant 50
69         52(ui2D):     51(ptr) Variable UniformConstant
70               62:             TypeImage 6(float) 2D multi-sampled nonsampled format:Rgba32f
71               63:             TypePointer UniformConstant 62
72        64(i2DMS):     63(ptr) Variable UniformConstant
73               67:     12(int) Constant 1
74               73:     12(int) Constant 2
75               75:             TypeImage 12(int) 2D multi-sampled nonsampled format:R32i
76               76:             TypePointer UniformConstant 75
77       77(ii2DMS):     76(ptr) Variable UniformConstant
78               87:             TypeImage 18(int) 2D multi-sampled nonsampled format:R32ui
79               88:             TypePointer UniformConstant 87
80       89(ui2DMS):     88(ptr) Variable UniformConstant
81               99:             TypePointer Output 7(fvec4)
82    100(fragData):     99(ptr) Variable Output
83              102:             TypePointer Input 18(int)
84       103(value):    102(ptr) Variable Input
85          4(main):           2 Function None 3
86                5:             Label
87             9(v):      8(ptr) Variable Function
88           15(iv):     14(ptr) Variable Function
89           21(uv):     20(ptr) Variable Function
90                               Store 9(v) 11
91                               Store 15(iv) 17
92                               Store 21(uv) 23
93               27:          24 Load 26(i2D)
94               31:   28(ivec2) Load 30(ic2D)
95               32:    7(fvec4) ImageRead 27 31
96               33:    7(fvec4) Load 9(v)
97               34:    7(fvec4) FAdd 33 32
98                               Store 9(v) 34
99               35:          24 Load 26(i2D)
100               36:   28(ivec2) Load 30(ic2D)
101               37:    7(fvec4) Load 9(v)
102                               ImageWrite 35 36 37
103               41:          38 Load 40(ii2D)
104               42:   28(ivec2) Load 30(ic2D)
105               43:   13(ivec4) ImageRead 41 42 SignExtend 
106               44:    7(fvec4) ConvertSToF 43
107               45:    7(fvec4) Load 9(v)
108               46:    7(fvec4) FAdd 45 44
109                               Store 9(v) 46
110               47:          38 Load 40(ii2D)
111               48:   28(ivec2) Load 30(ic2D)
112               49:   13(ivec4) Load 15(iv)
113                               ImageWrite 47 48 49 SignExtend 
114               53:          50 Load 52(ui2D)
115               54:   28(ivec2) Load 30(ic2D)
116               55:   19(ivec4) ImageRead 53 54 ZeroExtend 
117               56:    7(fvec4) ConvertUToF 55
118               57:    7(fvec4) Load 9(v)
119               58:    7(fvec4) FAdd 57 56
120                               Store 9(v) 58
121               59:          50 Load 52(ui2D)
122               60:   28(ivec2) Load 30(ic2D)
123               61:   19(ivec4) Load 21(uv)
124                               ImageWrite 59 60 61 ZeroExtend 
125               65:          62 Load 64(i2DMS)
126               66:   28(ivec2) Load 30(ic2D)
127               68:    7(fvec4) ImageRead 65 66 Sample 67
128               69:    7(fvec4) Load 9(v)
129               70:    7(fvec4) FAdd 69 68
130                               Store 9(v) 70
131               71:          62 Load 64(i2DMS)
132               72:   28(ivec2) Load 30(ic2D)
133               74:    7(fvec4) Load 9(v)
134                               ImageWrite 71 72 74 Sample 73
135               78:          75 Load 77(ii2DMS)
136               79:   28(ivec2) Load 30(ic2D)
137               80:   13(ivec4) ImageRead 78 79 Sample SignExtend 67
138               81:    7(fvec4) ConvertSToF 80
139               82:    7(fvec4) Load 9(v)
140               83:    7(fvec4) FAdd 82 81
141                               Store 9(v) 83
142               84:          75 Load 77(ii2DMS)
143               85:   28(ivec2) Load 30(ic2D)
144               86:   13(ivec4) Load 15(iv)
145                               ImageWrite 84 85 86 Sample SignExtend 73
146               90:          87 Load 89(ui2DMS)
147               91:   28(ivec2) Load 30(ic2D)
148               92:   19(ivec4) ImageRead 90 91 Sample ZeroExtend 67
149               93:    7(fvec4) ConvertUToF 92
150               94:    7(fvec4) Load 9(v)
151               95:    7(fvec4) FAdd 94 93
152                               Store 9(v) 95
153               96:          87 Load 89(ui2DMS)
154               97:   28(ivec2) Load 30(ic2D)
155               98:   19(ivec4) Load 21(uv)
156                               ImageWrite 96 97 98 Sample ZeroExtend 73
157              101:    7(fvec4) Load 9(v)
158                               Store 100(fragData) 101
159                               Return
160                               FunctionEnd