1spv.tpipSampleWeighted.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 43
5
6                              Capability Shader
7                              Capability TextureSampleWeightedQCOM
8                              Extension  "SPV_QCOM_image_processing"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 9 21
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 450
14                              SourceExtension  "GL_QCOM_image_processing"
15                              Name 4  "main"
16                              Name 9  "fragColor"
17                              Name 12  "tex2D_src1"
18                              Name 16  "samp"
19                              Name 21  "v_texcoord"
20                              Name 27  "tex2DArray_weights"
21                              Name 34  "tex_samp"
22                              Name 39  "tex_samp_array"
23                              Name 42  "tex2D_src2"
24                              Decorate 9(fragColor) Location 0
25                              Decorate 12(tex2D_src1) DescriptorSet 0
26                              Decorate 12(tex2D_src1) Binding 1
27                              Decorate 16(samp) DescriptorSet 0
28                              Decorate 16(samp) Binding 3
29                              Decorate 21(v_texcoord) Location 0
30                              Decorate 27(tex2DArray_weights) DescriptorSet 0
31                              Decorate 27(tex2DArray_weights) Binding 0
32                              Decorate 27(tex2DArray_weights) DecorationWeightTextureQCOM
33                              Decorate 34(tex_samp) DescriptorSet 0
34                              Decorate 34(tex_samp) Binding 4
35                              Decorate 39(tex_samp_array) DescriptorSet 0
36                              Decorate 39(tex_samp_array) Binding 5
37                              Decorate 39(tex_samp_array) DecorationWeightTextureQCOM
38                              Decorate 42(tex2D_src2) DescriptorSet 0
39                              Decorate 42(tex2D_src2) Binding 2
40               2:             TypeVoid
41               3:             TypeFunction 2
42               6:             TypeFloat 32
43               7:             TypeVector 6(float) 4
44               8:             TypePointer Output 7(fvec4)
45    9(fragColor):      8(ptr) Variable Output
46              10:             TypeImage 6(float) 2D sampled format:Unknown
47              11:             TypePointer UniformConstant 10
48  12(tex2D_src1):     11(ptr) Variable UniformConstant
49              14:             TypeSampler
50              15:             TypePointer UniformConstant 14
51        16(samp):     15(ptr) Variable UniformConstant
52              18:             TypeSampledImage 10
53              20:             TypePointer Input 7(fvec4)
54  21(v_texcoord):     20(ptr) Variable Input
55              22:             TypeVector 6(float) 2
56              25:             TypeImage 6(float) 2D array sampled format:Unknown
57              26:             TypePointer UniformConstant 25
5827(tex2DArray_weights):     26(ptr) Variable UniformConstant
59              30:             TypeSampledImage 25
60              33:             TypePointer UniformConstant 18
61    34(tex_samp):     33(ptr) Variable UniformConstant
62              38:             TypePointer UniformConstant 30
6339(tex_samp_array):     38(ptr) Variable UniformConstant
64  42(tex2D_src2):     11(ptr) Variable UniformConstant
65         4(main):           2 Function None 3
66               5:             Label
67              13:          10 Load 12(tex2D_src1)
68              17:          14 Load 16(samp)
69              19:          18 SampledImage 13 17
70              23:    7(fvec4) Load 21(v_texcoord)
71              24:   22(fvec2) VectorShuffle 23 23 0 1
72              28:          25 Load 27(tex2DArray_weights)
73              29:          14 Load 16(samp)
74              31:          30 SampledImage 28 29
75              32:    7(fvec4) ImageSampleWeightedQCOM 19 24 31
76                              Store 9(fragColor) 32
77              35:          18 Load 34(tex_samp)
78              36:    7(fvec4) Load 21(v_texcoord)
79              37:   22(fvec2) VectorShuffle 36 36 0 1
80              40:          30 Load 39(tex_samp_array)
81              41:    7(fvec4) ImageSampleWeightedQCOM 35 37 40
82                              Store 9(fragColor) 41
83                              Return
84                              FunctionEnd
85