1617a3babSopenharmony_cispv.samplerlessTextureFunctions.frag
2617a3babSopenharmony_ci// Module Version 10000
3617a3babSopenharmony_ci// Generated by (magic number): 8000b
4617a3babSopenharmony_ci// Id's are bound by 51
5617a3babSopenharmony_ci
6617a3babSopenharmony_ci                              Capability Shader
7617a3babSopenharmony_ci                              Capability SampledBuffer
8617a3babSopenharmony_ci                              Capability ImageQuery
9617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
10617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
11617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main"
12617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
13617a3babSopenharmony_ci                              Source GLSL 450
14617a3babSopenharmony_ci                              SourceExtension  "GL_EXT_samplerless_texture_functions"
15617a3babSopenharmony_ci                              Name 4  "main"
16617a3babSopenharmony_ci                              Name 9  "tex2DFetch"
17617a3babSopenharmony_ci                              Name 12  "tex2D"
18617a3babSopenharmony_ci                              Name 19  "texMSFetch"
19617a3babSopenharmony_ci                              Name 22  "texMS"
20617a3babSopenharmony_ci                              Name 25  "bufFetch"
21617a3babSopenharmony_ci                              Name 28  "buf"
22617a3babSopenharmony_ci                              Name 31  "tex2DFetchOffset"
23617a3babSopenharmony_ci                              Name 35  "tex2DSize"
24617a3babSopenharmony_ci                              Name 38  "texMSSize"
25617a3babSopenharmony_ci                              Name 42  "bufSize"
26617a3babSopenharmony_ci                              Name 45  "tex2DLevels"
27617a3babSopenharmony_ci                              Name 48  "texMSSamples"
28617a3babSopenharmony_ci                              Decorate 12(tex2D) DescriptorSet 0
29617a3babSopenharmony_ci                              Decorate 12(tex2D) Binding 1
30617a3babSopenharmony_ci                              Decorate 22(texMS) DescriptorSet 0
31617a3babSopenharmony_ci                              Decorate 22(texMS) Binding 1
32617a3babSopenharmony_ci                              Decorate 28(buf) DescriptorSet 0
33617a3babSopenharmony_ci                              Decorate 28(buf) Binding 0
34617a3babSopenharmony_ci               2:             TypeVoid
35617a3babSopenharmony_ci               3:             TypeFunction 2
36617a3babSopenharmony_ci               6:             TypeFloat 32
37617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
38617a3babSopenharmony_ci               8:             TypePointer Function 7(fvec4)
39617a3babSopenharmony_ci              10:             TypeImage 6(float) 2D sampled format:Unknown
40617a3babSopenharmony_ci              11:             TypePointer UniformConstant 10
41617a3babSopenharmony_ci       12(tex2D):     11(ptr) Variable UniformConstant
42617a3babSopenharmony_ci              14:             TypeInt 32 1
43617a3babSopenharmony_ci              15:             TypeVector 14(int) 2
44617a3babSopenharmony_ci              16:     14(int) Constant 0
45617a3babSopenharmony_ci              17:   15(ivec2) ConstantComposite 16 16
46617a3babSopenharmony_ci              20:             TypeImage 6(float) 2D multi-sampled sampled format:Unknown
47617a3babSopenharmony_ci              21:             TypePointer UniformConstant 20
48617a3babSopenharmony_ci       22(texMS):     21(ptr) Variable UniformConstant
49617a3babSopenharmony_ci              26:             TypeImage 6(float) Buffer sampled format:Unknown
50617a3babSopenharmony_ci              27:             TypePointer UniformConstant 26
51617a3babSopenharmony_ci         28(buf):     27(ptr) Variable UniformConstant
52617a3babSopenharmony_ci              34:             TypePointer Function 15(ivec2)
53617a3babSopenharmony_ci              41:             TypePointer Function 14(int)
54617a3babSopenharmony_ci         4(main):           2 Function None 3
55617a3babSopenharmony_ci               5:             Label
56617a3babSopenharmony_ci   9(tex2DFetch):      8(ptr) Variable Function
57617a3babSopenharmony_ci  19(texMSFetch):      8(ptr) Variable Function
58617a3babSopenharmony_ci    25(bufFetch):      8(ptr) Variable Function
59617a3babSopenharmony_ci31(tex2DFetchOffset):      8(ptr) Variable Function
60617a3babSopenharmony_ci   35(tex2DSize):     34(ptr) Variable Function
61617a3babSopenharmony_ci   38(texMSSize):     34(ptr) Variable Function
62617a3babSopenharmony_ci     42(bufSize):     41(ptr) Variable Function
63617a3babSopenharmony_ci 45(tex2DLevels):     41(ptr) Variable Function
64617a3babSopenharmony_ci48(texMSSamples):     41(ptr) Variable Function
65617a3babSopenharmony_ci              13:          10 Load 12(tex2D)
66617a3babSopenharmony_ci              18:    7(fvec4) ImageFetch 13 17 Lod 16
67617a3babSopenharmony_ci                              Store 9(tex2DFetch) 18
68617a3babSopenharmony_ci              23:          20 Load 22(texMS)
69617a3babSopenharmony_ci              24:    7(fvec4) ImageFetch 23 17 Sample 16
70617a3babSopenharmony_ci                              Store 19(texMSFetch) 24
71617a3babSopenharmony_ci              29:          26 Load 28(buf)
72617a3babSopenharmony_ci              30:    7(fvec4) ImageFetch 29 16
73617a3babSopenharmony_ci                              Store 25(bufFetch) 30
74617a3babSopenharmony_ci              32:          10 Load 12(tex2D)
75617a3babSopenharmony_ci              33:    7(fvec4) ImageFetch 32 17 Lod ConstOffset 16 17
76617a3babSopenharmony_ci                              Store 31(tex2DFetchOffset) 33
77617a3babSopenharmony_ci              36:          10 Load 12(tex2D)
78617a3babSopenharmony_ci              37:   15(ivec2) ImageQuerySizeLod 36 16
79617a3babSopenharmony_ci                              Store 35(tex2DSize) 37
80617a3babSopenharmony_ci              39:          20 Load 22(texMS)
81617a3babSopenharmony_ci              40:   15(ivec2) ImageQuerySize 39
82617a3babSopenharmony_ci                              Store 38(texMSSize) 40
83617a3babSopenharmony_ci              43:          26 Load 28(buf)
84617a3babSopenharmony_ci              44:     14(int) ImageQuerySize 43
85617a3babSopenharmony_ci                              Store 42(bufSize) 44
86617a3babSopenharmony_ci              46:          10 Load 12(tex2D)
87617a3babSopenharmony_ci              47:     14(int) ImageQueryLevels 46
88617a3babSopenharmony_ci                              Store 45(tex2DLevels) 47
89617a3babSopenharmony_ci              49:          20 Load 22(texMS)
90617a3babSopenharmony_ci              50:     14(int) ImageQuerySamples 49
91617a3babSopenharmony_ci                              Store 48(texMSSamples) 50
92617a3babSopenharmony_ci                              Return
93617a3babSopenharmony_ci                              FunctionEnd
94