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