1spv.nonuniform2.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 24
5
6                              Capability Shader
7                              Capability ImageBuffer
8                              Capability ShaderNonUniformEXT
9                              Capability RuntimeDescriptorArrayEXT
10                              Capability StorageTexelBufferArrayNonUniformIndexingEXT
11                              Extension  "SPV_EXT_descriptor_indexing"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical GLSL450
14                              EntryPoint Fragment 4  "main" 9 16
15                              ExecutionMode 4 OriginUpperLeft
16                              Source GLSL 450
17                              SourceExtension  "GL_EXT_nonuniform_qualifier"
18                              Name 4  "main"
19                              Name 9  "FragColor"
20                              Name 13  "data"
21                              Name 16  "rIndex"
22                              Decorate 9(FragColor) Location 0
23                              Decorate 13(data) DescriptorSet 0
24                              Decorate 13(data) Binding 4
25                              Decorate 16(rIndex) Flat
26                              Decorate 16(rIndex) Location 3
27                              Decorate 18 DecorationNonUniformEXT
28                              Decorate 20 DecorationNonUniformEXT
29                              Decorate 21 DecorationNonUniformEXT
30               2:             TypeVoid
31               3:             TypeFunction 2
32               6:             TypeFloat 32
33               7:             TypeVector 6(float) 4
34               8:             TypePointer Output 7(fvec4)
35    9(FragColor):      8(ptr) Variable Output
36              10:             TypeImage 6(float) Buffer nonsampled format:Rgba32f
37              11:             TypeRuntimeArray 10
38              12:             TypePointer UniformConstant 11
39        13(data):     12(ptr) Variable UniformConstant
40              14:             TypeInt 32 1
41              15:             TypePointer Input 14(int)
42      16(rIndex):     15(ptr) Variable Input
43              19:             TypePointer UniformConstant 10
44              22:     14(int) Constant 0
45         4(main):           2 Function None 3
46               5:             Label
47              17:     14(int) Load 16(rIndex)
48              18:     14(int) CopyObject 17
49              20:     19(ptr) AccessChain 13(data) 18
50              21:          10 Load 20
51              23:    7(fvec4) ImageRead 21 22
52                              Store 9(FragColor) 23
53                              Return
54                              FunctionEnd
55