1spv.memoryQualifier.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000a 5// Id's are bound by 97 6 7 Capability Shader 8 Capability ImageRect 9 Capability Image1D 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint Fragment 4 "main" 13 ExecutionMode 4 OriginUpperLeft 14 Source GLSL 450 15 Name 4 "main" 16 Name 9 "texel" 17 Name 12 "i1D" 18 Name 19 "i2D" 19 Name 28 "i2DRect" 20 Name 35 "i3D" 21 Name 44 "iCube" 22 Name 49 "Data" 23 MemberName 49(Data) 0 "f1" 24 MemberName 49(Data) 1 "f2" 25 Name 50 "Buffer" 26 MemberName 50(Buffer) 0 "f1" 27 MemberName 50(Buffer) 1 "f2" 28 MemberName 50(Buffer) 2 "f3" 29 MemberName 50(Buffer) 3 "f4" 30 MemberName 50(Buffer) 4 "i1" 31 MemberName 50(Buffer) 5 "data" 32 Name 52 "" 33 Decorate 12(i1D) DescriptorSet 0 34 Decorate 12(i1D) Binding 0 35 Decorate 12(i1D) Coherent 36 Decorate 19(i2D) DescriptorSet 0 37 Decorate 19(i2D) Binding 1 38 Decorate 19(i2D) Volatile 39 Decorate 19(i2D) Coherent 40 Decorate 28(i2DRect) DescriptorSet 0 41 Decorate 28(i2DRect) Binding 2 42 Decorate 28(i2DRect) Restrict 43 Decorate 35(i3D) DescriptorSet 0 44 Decorate 35(i3D) Binding 3 45 Decorate 35(i3D) NonWritable 46 Decorate 44(iCube) DescriptorSet 0 47 Decorate 44(iCube) Binding 3 48 Decorate 44(iCube) NonReadable 49 MemberDecorate 49(Data) 0 Offset 0 50 MemberDecorate 49(Data) 1 Offset 8 51 MemberDecorate 50(Buffer) 0 Coherent 52 MemberDecorate 50(Buffer) 0 Volatile 53 MemberDecorate 50(Buffer) 0 Coherent 54 MemberDecorate 50(Buffer) 0 Offset 0 55 MemberDecorate 50(Buffer) 1 Coherent 56 MemberDecorate 50(Buffer) 1 Restrict 57 MemberDecorate 50(Buffer) 1 Offset 8 58 MemberDecorate 50(Buffer) 2 Coherent 59 MemberDecorate 50(Buffer) 2 NonWritable 60 MemberDecorate 50(Buffer) 2 Offset 16 61 MemberDecorate 50(Buffer) 3 Coherent 62 MemberDecorate 50(Buffer) 3 NonReadable 63 MemberDecorate 50(Buffer) 3 Offset 32 64 MemberDecorate 50(Buffer) 4 Coherent 65 MemberDecorate 50(Buffer) 4 Offset 48 66 MemberDecorate 50(Buffer) 5 Coherent 67 MemberDecorate 50(Buffer) 5 Offset 56 68 Decorate 50(Buffer) BufferBlock 69 Decorate 52 DescriptorSet 0 70 Decorate 52 Binding 4 71 2: TypeVoid 72 3: TypeFunction 2 73 6: TypeFloat 32 74 7: TypeVector 6(float) 4 75 8: TypePointer Function 7(fvec4) 76 10: TypeImage 6(float) 1D nonsampled format:R32f 77 11: TypePointer UniformConstant 10 78 12(i1D): 11(ptr) Variable UniformConstant 79 14: TypeInt 32 1 80 15: 14(int) Constant 1 81 17: TypeImage 6(float) 2D nonsampled format:R32f 82 18: TypePointer UniformConstant 17 83 19(i2D): 18(ptr) Variable UniformConstant 84 21: TypeVector 14(int) 2 85 22: 21(ivec2) ConstantComposite 15 15 86 26: TypeImage 6(float) Rect nonsampled format:R32f 87 27: TypePointer UniformConstant 26 88 28(i2DRect): 27(ptr) Variable UniformConstant 89 33: TypeImage 6(float) 3D nonsampled format:R32f 90 34: TypePointer UniformConstant 33 91 35(i3D): 34(ptr) Variable UniformConstant 92 37: TypeVector 14(int) 3 93 38: 37(ivec3) ConstantComposite 15 15 15 94 42: TypeImage 6(float) Cube nonsampled format:R32f 95 43: TypePointer UniformConstant 42 96 44(iCube): 43(ptr) Variable UniformConstant 97 47: TypeVector 6(float) 2 98 48: TypeVector 6(float) 3 99 49(Data): TypeStruct 6(float) 47(fvec2) 100 50(Buffer): TypeStruct 6(float) 47(fvec2) 48(fvec3) 7(fvec4) 14(int) 49(Data) 101 51: TypePointer Uniform 50(Buffer) 102 52: 51(ptr) Variable Uniform 103 53: 14(int) Constant 4 104 54: TypePointer Uniform 14(int) 105 57: 14(int) Constant 0 106 58: TypePointer Uniform 6(float) 107 61: TypePointer Function 6(float) 108 63: TypePointer Uniform 47(fvec2) 109 71: 14(int) Constant 2 110 72: TypePointer Uniform 48(fvec3) 111 80: 14(int) Constant 5 112 83: TypeInt 32 0 113 84: 83(int) Constant 1 114 88: 83(int) Constant 3 115 93: 14(int) Constant 3 116 95: TypePointer Uniform 7(fvec4) 117 4(main): 2 Function None 3 118 5: Label 119 9(texel): 8(ptr) Variable Function 120 13: 10 Load 12(i1D) 121 16: 7(fvec4) ImageRead 13 15 122 Store 9(texel) 16 123 20: 17 Load 19(i2D) 124 23: 7(fvec4) ImageRead 20 22 125 24: 7(fvec4) Load 9(texel) 126 25: 7(fvec4) FAdd 24 23 127 Store 9(texel) 25 128 29: 26 Load 28(i2DRect) 129 30: 7(fvec4) ImageRead 29 22 130 31: 7(fvec4) Load 9(texel) 131 32: 7(fvec4) FAdd 31 30 132 Store 9(texel) 32 133 36: 33 Load 35(i3D) 134 39: 7(fvec4) ImageRead 36 38 135 40: 7(fvec4) Load 9(texel) 136 41: 7(fvec4) FAdd 40 39 137 Store 9(texel) 41 138 45: 42 Load 44(iCube) 139 46: 7(fvec4) Load 9(texel) 140 ImageWrite 45 38 46 141 55: 54(ptr) AccessChain 52 53 142 56: 14(int) Load 55 143 59: 58(ptr) AccessChain 52 57 144 60: 6(float) Load 59 145 62: 61(ptr) AccessChain 9(texel) 56 146 Store 62 60 147 64: 63(ptr) AccessChain 52 15 148 65: 47(fvec2) Load 64 149 66: 7(fvec4) Load 9(texel) 150 67: 47(fvec2) VectorShuffle 66 66 0 1 151 68: 47(fvec2) FAdd 67 65 152 69: 7(fvec4) Load 9(texel) 153 70: 7(fvec4) VectorShuffle 69 68 4 5 2 3 154 Store 9(texel) 70 155 73: 72(ptr) AccessChain 52 71 156 74: 48(fvec3) Load 73 157 75: 7(fvec4) Load 9(texel) 158 76: 48(fvec3) VectorShuffle 75 75 0 1 2 159 77: 48(fvec3) FSub 76 74 160 78: 7(fvec4) Load 9(texel) 161 79: 7(fvec4) VectorShuffle 78 77 4 5 6 3 162 Store 9(texel) 79 163 81: 58(ptr) AccessChain 52 80 57 164 82: 6(float) Load 81 165 85: 58(ptr) AccessChain 52 80 15 84 166 86: 6(float) Load 85 167 87: 6(float) FAdd 82 86 168 89: 61(ptr) AccessChain 9(texel) 88 169 90: 6(float) Load 89 170 91: 6(float) FAdd 90 87 171 92: 61(ptr) AccessChain 9(texel) 88 172 Store 92 91 173 94: 7(fvec4) Load 9(texel) 174 96: 95(ptr) AccessChain 52 93 175 Store 96 94 176 Return 177 FunctionEnd 178