1spv.precisionTexture.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 66 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 16 57 65 10 ExecutionMode 4 OriginUpperLeft 11 Source ESSL 310 12 Name 4 "main" 13 Name 9 "v" 14 Name 13 "texM" 15 Name 16 "vertex" 16 Name 21 "texH" 17 Name 52 "imageM" 18 Name 57 "coord" 19 Name 60 "imageH" 20 Name 65 "fragColor" 21 Decorate 9(v) RelaxedPrecision 22 Decorate 13(texM) RelaxedPrecision 23 Decorate 13(texM) DescriptorSet 0 24 Decorate 13(texM) Binding 0 25 Decorate 14 RelaxedPrecision 26 Decorate 16(vertex) Location 0 27 Decorate 20 RelaxedPrecision 28 Decorate 21(texH) DescriptorSet 0 29 Decorate 21(texH) Binding 1 30 Decorate 26 RelaxedPrecision 31 Decorate 34 RelaxedPrecision 32 Decorate 41 RelaxedPrecision 33 Decorate 45 RelaxedPrecision 34 Decorate 52(imageM) RelaxedPrecision 35 Decorate 52(imageM) DescriptorSet 0 36 Decorate 52(imageM) Binding 0 37 Decorate 52(imageM) NonWritable 38 Decorate 53 RelaxedPrecision 39 Decorate 57(coord) Flat 40 Decorate 57(coord) Location 1 41 Decorate 59 RelaxedPrecision 42 Decorate 60(imageH) DescriptorSet 0 43 Decorate 60(imageH) Binding 1 44 Decorate 60(imageH) NonWritable 45 Decorate 65(fragColor) RelaxedPrecision 46 Decorate 65(fragColor) Location 0 47 2: TypeVoid 48 3: TypeFunction 2 49 6: TypeFloat 32 50 7: TypeVector 6(float) 4 51 8: TypePointer Function 7(fvec4) 52 10: TypeImage 6(float) 2D sampled format:Unknown 53 11: TypeSampledImage 10 54 12: TypePointer UniformConstant 11 55 13(texM): 12(ptr) Variable UniformConstant 56 15: TypePointer Input 7(fvec4) 57 16(vertex): 15(ptr) Variable Input 58 17: TypeVector 6(float) 2 59 21(texH): 12(ptr) Variable UniformConstant 60 29: TypeInt 32 0 61 30: 29(int) Constant 2 62 31: TypePointer Input 6(float) 63 42: TypeVector 6(float) 3 64 50: TypeImage 6(float) 2D nonsampled format:Rgba32f 65 51: TypePointer UniformConstant 50 66 52(imageM): 51(ptr) Variable UniformConstant 67 54: TypeInt 32 1 68 55: TypeVector 54(int) 2 69 56: TypePointer Input 55(ivec2) 70 57(coord): 56(ptr) Variable Input 71 60(imageH): 51(ptr) Variable UniformConstant 72 64: TypePointer Output 7(fvec4) 73 65(fragColor): 64(ptr) Variable Output 74 4(main): 2 Function None 3 75 5: Label 76 9(v): 8(ptr) Variable Function 77 14: 11 Load 13(texM) 78 18: 7(fvec4) Load 16(vertex) 79 19: 17(fvec2) VectorShuffle 18 18 0 1 80 20: 7(fvec4) ImageSampleImplicitLod 14 19 81 Store 9(v) 20 82 22: 11 Load 21(texH) 83 23: 7(fvec4) Load 16(vertex) 84 24: 17(fvec2) VectorShuffle 23 23 0 1 85 25: 7(fvec4) ImageSampleImplicitLod 22 24 86 Store 9(v) 25 87 26: 11 Load 13(texM) 88 27: 7(fvec4) Load 16(vertex) 89 28: 17(fvec2) VectorShuffle 27 27 0 1 90 32: 31(ptr) AccessChain 16(vertex) 30 91 33: 6(float) Load 32 92 34: 7(fvec4) ImageSampleExplicitLod 26 28 Lod 33 93 Store 9(v) 34 94 35: 11 Load 21(texH) 95 36: 7(fvec4) Load 16(vertex) 96 37: 17(fvec2) VectorShuffle 36 36 0 1 97 38: 31(ptr) AccessChain 16(vertex) 30 98 39: 6(float) Load 38 99 40: 7(fvec4) ImageSampleExplicitLod 35 37 Lod 39 100 Store 9(v) 40 101 41: 11 Load 13(texM) 102 43: 7(fvec4) Load 16(vertex) 103 44: 42(fvec3) VectorShuffle 43 43 0 1 2 104 45: 7(fvec4) ImageSampleProjImplicitLod 41 44 105 Store 9(v) 45 106 46: 11 Load 21(texH) 107 47: 7(fvec4) Load 16(vertex) 108 48: 42(fvec3) VectorShuffle 47 47 0 1 2 109 49: 7(fvec4) ImageSampleProjImplicitLod 46 48 110 Store 9(v) 49 111 53: 50 Load 52(imageM) 112 58: 55(ivec2) Load 57(coord) 113 59: 7(fvec4) ImageRead 53 58 114 Store 9(v) 59 115 61: 50 Load 60(imageH) 116 62: 55(ivec2) Load 57(coord) 117 63: 7(fvec4) ImageRead 61 62 118 Store 9(v) 63 119 Return 120 FunctionEnd 121