1spv.tpipBlockMatchWindowSSD.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 72
5
6                              Capability Shader
7                              Capability TextureBlockMatchQCOM
8                              Capability TextureBlockMatch2QCOM
9                              Extension  "SPV_QCOM_image_processing"
10                              Extension  "SPV_QCOM_image_processing2"
11               1:             ExtInstImport  "GLSL.std.450"
12                              MemoryModel Logical GLSL450
13                              EntryPoint Fragment 4  "main" 13 41
14                              ExecutionMode 4 OriginUpperLeft
15                              Source GLSL 450
16                              SourceExtension  "GL_QCOM_image_processing"
17                              SourceExtension  "GL_QCOM_image_processing2"
18                              Name 4  "main"
19                              Name 9  "tgt_coords"
20                              Name 13  "v_texcoord"
21                              Name 26  "ref_coords"
22                              Name 37  "blockSize"
23                              Name 41  "fragColor"
24                              Name 44  "tex2D_src1"
25                              Name 48  "samp"
26                              Name 53  "tex2D_src2"
27                              Name 61  "target_samp"
28                              Name 64  "ref_samp"
29                              Name 71  "tex2DArray_weights"
30                              Decorate 13(v_texcoord) Location 0
31                              Decorate 41(fragColor) Location 0
32                              Decorate 44(tex2D_src1) Binding 1
33                              Decorate 44(tex2D_src1) DescriptorSet 0
34                              Decorate 44(tex2D_src1) DecorationBlockMatchTextureQCOM
35                              Decorate 48(samp) Binding 3
36                              Decorate 48(samp) DescriptorSet 0
37                              Decorate 48(samp) DecorationBlockMatchSamplerQCOM
38                              Decorate 53(tex2D_src2) Binding 2
39                              Decorate 53(tex2D_src2) DescriptorSet 0
40                              Decorate 53(tex2D_src2) DecorationBlockMatchTextureQCOM
41                              Decorate 61(target_samp) Binding 4
42                              Decorate 61(target_samp) DescriptorSet 0
43                              Decorate 61(target_samp) DecorationBlockMatchTextureQCOM
44                              Decorate 61(target_samp) DecorationBlockMatchSamplerQCOM
45                              Decorate 64(ref_samp) Binding 5
46                              Decorate 64(ref_samp) DescriptorSet 0
47                              Decorate 64(ref_samp) DecorationBlockMatchTextureQCOM
48                              Decorate 64(ref_samp) DecorationBlockMatchSamplerQCOM
49                              Decorate 71(tex2DArray_weights) Binding 0
50                              Decorate 71(tex2DArray_weights) DescriptorSet 0
51               2:             TypeVoid
52               3:             TypeFunction 2
53               6:             TypeInt 32 0
54               7:             TypeVector 6(int) 2
55               8:             TypePointer Function 7(ivec2)
56              10:             TypeFloat 32
57              11:             TypeVector 10(float) 4
58              12:             TypePointer Input 11(fvec4)
59  13(v_texcoord):     12(ptr) Variable Input
60              14:      6(int) Constant 0
61              15:             TypePointer Input 10(float)
62              19:             TypePointer Function 6(int)
63              21:      6(int) Constant 1
64              27:      6(int) Constant 2
65              32:      6(int) Constant 3
66              38:      6(int) Constant 4
67              39:    7(ivec2) ConstantComposite 38 38
68              40:             TypePointer Output 11(fvec4)
69   41(fragColor):     40(ptr) Variable Output
70              42:             TypeImage 10(float) 2D sampled format:Unknown
71              43:             TypePointer UniformConstant 42
72  44(tex2D_src1):     43(ptr) Variable UniformConstant
73              46:             TypeSampler
74              47:             TypePointer UniformConstant 46
75        48(samp):     47(ptr) Variable UniformConstant
76              50:             TypeSampledImage 42
77  53(tex2D_src2):     43(ptr) Variable UniformConstant
78              60:             TypePointer UniformConstant 50
79 61(target_samp):     60(ptr) Variable UniformConstant
80    64(ref_samp):     60(ptr) Variable UniformConstant
81              69:             TypeImage 10(float) 2D array sampled format:Unknown
82              70:             TypePointer UniformConstant 69
8371(tex2DArray_weights):     70(ptr) Variable UniformConstant
84         4(main):           2 Function None 3
85               5:             Label
86   9(tgt_coords):      8(ptr) Variable Function
87  26(ref_coords):      8(ptr) Variable Function
88   37(blockSize):      8(ptr) Variable Function
89              16:     15(ptr) AccessChain 13(v_texcoord) 14
90              17:   10(float) Load 16
91              18:      6(int) ConvertFToU 17
92              20:     19(ptr) AccessChain 9(tgt_coords) 14
93                              Store 20 18
94              22:     15(ptr) AccessChain 13(v_texcoord) 21
95              23:   10(float) Load 22
96              24:      6(int) ConvertFToU 23
97              25:     19(ptr) AccessChain 9(tgt_coords) 14
98                              Store 25 24
99              28:     15(ptr) AccessChain 13(v_texcoord) 27
100              29:   10(float) Load 28
101              30:      6(int) ConvertFToU 29
102              31:     19(ptr) AccessChain 26(ref_coords) 14
103                              Store 31 30
104              33:     15(ptr) AccessChain 13(v_texcoord) 32
105              34:   10(float) Load 33
106              35:      6(int) ConvertFToU 34
107              36:     19(ptr) AccessChain 26(ref_coords) 21
108                              Store 36 35
109                              Store 37(blockSize) 39
110              45:          42 Load 44(tex2D_src1)
111              49:          46 Load 48(samp)
112              51:          50 SampledImage 45 49
113              52:    7(ivec2) Load 9(tgt_coords)
114              54:          42 Load 53(tex2D_src2)
115              55:          46 Load 48(samp)
116              56:          50 SampledImage 54 55
117              57:    7(ivec2) Load 26(ref_coords)
118              58:    7(ivec2) Load 37(blockSize)
119              59:   11(fvec4) ImageBlockMatchWindowSSDQCOM 51 52 56 57 58
120                              Store 41(fragColor) 59
121              62:          50 Load 61(target_samp)
122              63:    7(ivec2) Load 9(tgt_coords)
123              65:          50 Load 64(ref_samp)
124              66:    7(ivec2) Load 26(ref_coords)
125              67:    7(ivec2) Load 37(blockSize)
126              68:   11(fvec4) ImageBlockMatchWindowSSDQCOM 62 63 65 66 67
127                              Store 41(fragColor) 68
128                              Return
129                              FunctionEnd
130