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