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