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