4f92426d658014cffd8f3b3ed9f1b14d864f3622
[platform/upstream/glslang.git] / Test / baseResults / spv.1.4.NonWritable.frag.out
1 spv.1.4.NonWritable.frag
2 Validation failed
3 // Module Version 10400
4 // Generated by (magic number): 80007
5 // Id's are bound by 38
6
7                               Capability Shader
8                1:             ExtInstImport  "GLSL.std.450"
9                               MemoryModel Logical GLSL450
10                               EntryPoint Fragment 4  "main" 8 31
11                               ExecutionMode 4 OriginUpperLeft
12                               Source GLSL 450
13                               Name 4  "main"
14                               Name 8  "color"
15                               Name 31  "index"
16                               Name 34  "indexable"
17                               Decorate 8(color) Location 0
18                               Decorate 31(index) Flat
19                               Decorate 31(index) Location 0
20                               Decorate 34(indexable) NonWritable
21                2:             TypeVoid
22                3:             TypeFunction 2
23                6:             TypeFloat 32
24                7:             TypePointer Output 6(float)
25         8(color):      7(ptr) Variable Output
26                9:             TypeInt 32 0
27               10:      9(int) Constant 16
28               11:             TypeArray 6(float) 10
29               12:    6(float) Constant 1065353216
30               13:    6(float) Constant 1073741824
31               14:    6(float) Constant 1077936128
32               15:    6(float) Constant 1082130432
33               16:    6(float) Constant 1084227584
34               17:    6(float) Constant 1086324736
35               18:    6(float) Constant 1088421888
36               19:    6(float) Constant 1090519040
37               20:    6(float) Constant 1091567616
38               21:    6(float) Constant 1092616192
39               22:    6(float) Constant 1093664768
40               23:    6(float) Constant 1094713344
41               24:    6(float) Constant 1095761920
42               25:    6(float) Constant 1096810496
43               26:    6(float) Constant 1097859072
44               27:    6(float) Constant 1098907648
45               28:          11 ConstantComposite 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
46               29:             TypeInt 32 1
47               30:             TypePointer Input 29(int)
48        31(index):     30(ptr) Variable Input
49               33:             TypePointer Function 11
50               35:             TypePointer Function 6(float)
51          4(main):           2 Function None 3
52                5:             Label
53    34(indexable):     33(ptr) Variable Function 28
54               32:     29(int) Load 31(index)
55               36:     35(ptr) AccessChain 34(indexable) 32
56               37:    6(float) Load 36
57                               Store 8(color) 37
58                               Return
59                               FunctionEnd