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