1spv.paramMemory.frag 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 69 5 6 Capability Shader 7 Capability StorageImageReadWithoutFormat 8 Capability StorageImageWriteWithoutFormat 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Fragment 4 "main" 27 66 12 ExecutionMode 4 OriginUpperLeft 13 Source ESSL 310 14 Name 4 "main" 15 Name 16 "image_load(I21;vi2;" 16 Name 14 "image" 17 Name 15 "coords" 18 Name 23 "image_store(I21;vi2;vf4;" 19 Name 20 "image" 20 Name 21 "coords" 21 Name 22 "data" 22 Name 27 "in_coords" 23 Name 35 "read1" 24 Name 38 "image1" 25 Name 39 "param" 26 Name 42 "read2" 27 Name 45 "image2" 28 Name 46 "param" 29 Name 49 "image3" 30 Name 53 "param" 31 Name 55 "param" 32 Name 57 "image4" 33 Name 61 "param" 34 Name 63 "param" 35 Name 66 "out_color" 36 Decorate 14(image) Coherent 37 Decorate 14(image) NonWritable 38 Decorate 20(image) Coherent 39 Decorate 20(image) NonReadable 40 Decorate 27(in_coords) Flat 41 Decorate 27(in_coords) Location 0 42 Decorate 38(image1) DescriptorSet 0 43 Decorate 38(image1) Binding 0 44 Decorate 38(image1) Coherent 45 Decorate 38(image1) NonWritable 46 Decorate 45(image2) DescriptorSet 0 47 Decorate 45(image2) Binding 2 48 Decorate 45(image2) NonWritable 49 Decorate 49(image3) DescriptorSet 0 50 Decorate 49(image3) Binding 1 51 Decorate 49(image3) Coherent 52 Decorate 49(image3) NonReadable 53 Decorate 57(image4) DescriptorSet 0 54 Decorate 57(image4) Binding 3 55 Decorate 57(image4) NonReadable 56 Decorate 66(out_color) Location 0 57 2: TypeVoid 58 3: TypeFunction 2 59 6: TypeFloat 32 60 7: TypeImage 6(float) 2D nonsampled format:Unknown 61 8: TypePointer UniformConstant 7 62 9: TypeInt 32 1 63 10: TypeVector 9(int) 2 64 11: TypePointer Function 10(ivec2) 65 12: TypeVector 6(float) 4 66 13: TypeFunction 12(fvec4) 8(ptr) 11(ptr) 67 18: TypePointer Function 12(fvec4) 68 19: TypeFunction 2 8(ptr) 11(ptr) 18(ptr) 69 26: TypePointer Input 10(ivec2) 70 27(in_coords): 26(ptr) Variable Input 71 36: TypeImage 6(float) 2D nonsampled format:Rgba32f 72 37: TypePointer UniformConstant 36 73 38(image1): 37(ptr) Variable UniformConstant 74 43: TypeImage 6(float) 2D nonsampled format:Rgba16f 75 44: TypePointer UniformConstant 43 76 45(image2): 44(ptr) Variable UniformConstant 77 49(image3): 37(ptr) Variable UniformConstant 78 51: 6(float) Constant 1056964608 79 57(image4): 44(ptr) Variable UniformConstant 80 59: 6(float) Constant 1073741824 81 65: TypePointer Output 12(fvec4) 82 66(out_color): 65(ptr) Variable Output 83 67: 6(float) Constant 0 84 68: 12(fvec4) ConstantComposite 67 67 67 67 85 4(main): 2 Function None 3 86 5: Label 87 35(read1): 18(ptr) Variable Function 88 39(param): 11(ptr) Variable Function 89 42(read2): 18(ptr) Variable Function 90 46(param): 11(ptr) Variable Function 91 53(param): 11(ptr) Variable Function 92 55(param): 18(ptr) Variable Function 93 61(param): 11(ptr) Variable Function 94 63(param): 18(ptr) Variable Function 95 40: 10(ivec2) Load 27(in_coords) 96 Store 39(param) 40 97 41: 12(fvec4) FunctionCall 16(image_load(I21;vi2;) 38(image1) 39(param) 98 Store 35(read1) 41 99 47: 10(ivec2) Load 27(in_coords) 100 Store 46(param) 47 101 48: 12(fvec4) FunctionCall 16(image_load(I21;vi2;) 45(image2) 46(param) 102 Store 42(read2) 48 103 50: 12(fvec4) Load 35(read1) 104 52: 12(fvec4) VectorTimesScalar 50 51 105 54: 10(ivec2) Load 27(in_coords) 106 Store 53(param) 54 107 Store 55(param) 52 108 56: 2 FunctionCall 23(image_store(I21;vi2;vf4;) 49(image3) 53(param) 55(param) 109 58: 12(fvec4) Load 42(read2) 110 60: 12(fvec4) VectorTimesScalar 58 59 111 62: 10(ivec2) Load 27(in_coords) 112 Store 61(param) 62 113 Store 63(param) 60 114 64: 2 FunctionCall 23(image_store(I21;vi2;vf4;) 57(image4) 61(param) 63(param) 115 Store 66(out_color) 68 116 Return 117 FunctionEnd 11816(image_load(I21;vi2;): 12(fvec4) Function None 13 119 14(image): 8(ptr) FunctionParameter 120 15(coords): 11(ptr) FunctionParameter 121 17: Label 122 25: 7 Load 14(image) 123 28: 10(ivec2) Load 27(in_coords) 124 29: 12(fvec4) ImageRead 25 28 125 ReturnValue 29 126 FunctionEnd 12723(image_store(I21;vi2;vf4;): 2 Function None 19 128 20(image): 8(ptr) FunctionParameter 129 21(coords): 11(ptr) FunctionParameter 130 22(data): 18(ptr) FunctionParameter 131 24: Label 132 32: 7 Load 20(image) 133 33: 10(ivec2) Load 27(in_coords) 134 34: 12(fvec4) Load 22(data) 135 ImageWrite 32 33 34 136 Return 137 FunctionEnd 138