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