1spv.samplerlessTextureFunctions.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 51
5
6                              Capability Shader
7                              Capability SampledBuffer
8                              Capability ImageQuery
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main"
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 450
14                              SourceExtension  "GL_EXT_samplerless_texture_functions"
15                              Name 4  "main"
16                              Name 9  "tex2DFetch"
17                              Name 12  "tex2D"
18                              Name 19  "texMSFetch"
19                              Name 22  "texMS"
20                              Name 25  "bufFetch"
21                              Name 28  "buf"
22                              Name 31  "tex2DFetchOffset"
23                              Name 35  "tex2DSize"
24                              Name 38  "texMSSize"
25                              Name 42  "bufSize"
26                              Name 45  "tex2DLevels"
27                              Name 48  "texMSSamples"
28                              Decorate 12(tex2D) DescriptorSet 0
29                              Decorate 12(tex2D) Binding 1
30                              Decorate 22(texMS) DescriptorSet 0
31                              Decorate 22(texMS) Binding 1
32                              Decorate 28(buf) DescriptorSet 0
33                              Decorate 28(buf) Binding 0
34               2:             TypeVoid
35               3:             TypeFunction 2
36               6:             TypeFloat 32
37               7:             TypeVector 6(float) 4
38               8:             TypePointer Function 7(fvec4)
39              10:             TypeImage 6(float) 2D sampled format:Unknown
40              11:             TypePointer UniformConstant 10
41       12(tex2D):     11(ptr) Variable UniformConstant
42              14:             TypeInt 32 1
43              15:             TypeVector 14(int) 2
44              16:     14(int) Constant 0
45              17:   15(ivec2) ConstantComposite 16 16
46              20:             TypeImage 6(float) 2D multi-sampled sampled format:Unknown
47              21:             TypePointer UniformConstant 20
48       22(texMS):     21(ptr) Variable UniformConstant
49              26:             TypeImage 6(float) Buffer sampled format:Unknown
50              27:             TypePointer UniformConstant 26
51         28(buf):     27(ptr) Variable UniformConstant
52              34:             TypePointer Function 15(ivec2)
53              41:             TypePointer Function 14(int)
54         4(main):           2 Function None 3
55               5:             Label
56   9(tex2DFetch):      8(ptr) Variable Function
57  19(texMSFetch):      8(ptr) Variable Function
58    25(bufFetch):      8(ptr) Variable Function
5931(tex2DFetchOffset):      8(ptr) Variable Function
60   35(tex2DSize):     34(ptr) Variable Function
61   38(texMSSize):     34(ptr) Variable Function
62     42(bufSize):     41(ptr) Variable Function
63 45(tex2DLevels):     41(ptr) Variable Function
6448(texMSSamples):     41(ptr) Variable Function
65              13:          10 Load 12(tex2D)
66              18:    7(fvec4) ImageFetch 13 17 Lod 16
67                              Store 9(tex2DFetch) 18
68              23:          20 Load 22(texMS)
69              24:    7(fvec4) ImageFetch 23 17 Sample 16
70                              Store 19(texMSFetch) 24
71              29:          26 Load 28(buf)
72              30:    7(fvec4) ImageFetch 29 16
73                              Store 25(bufFetch) 30
74              32:          10 Load 12(tex2D)
75              33:    7(fvec4) ImageFetch 32 17 Lod ConstOffset 16 17
76                              Store 31(tex2DFetchOffset) 33
77              36:          10 Load 12(tex2D)
78              37:   15(ivec2) ImageQuerySizeLod 36 16
79                              Store 35(tex2DSize) 37
80              39:          20 Load 22(texMS)
81              40:   15(ivec2) ImageQuerySize 39
82                              Store 38(texMSSize) 40
83              43:          26 Load 28(buf)
84              44:     14(int) ImageQuerySize 43
85                              Store 42(bufSize) 44
86              46:          10 Load 12(tex2D)
87              47:     14(int) ImageQueryLevels 46
88                              Store 45(tex2DLevels) 47
89              49:          20 Load 22(texMS)
90              50:     14(int) ImageQuerySamples 49
91                              Store 48(texMSSamples) 50
92                              Return
93                              FunctionEnd
94