1spv.imageLoadStoreLod.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 148 5 6 Capability Shader 7 Capability Int64 8 Capability ImageCubeArray 9 Capability SparseResidency 10 Capability Image1D 11 Capability ImageReadWriteLodAMD 12 Capability Int64ImageEXT 13 Extension "SPV_AMD_shader_image_load_store_lod" 14 Extension "SPV_EXT_shader_image_int64" 15 1: ExtInstImport "GLSL.std.450" 16 MemoryModel Logical GLSL450 17 EntryPoint Fragment 4 "main" 77 18 ExecutionMode 4 OriginUpperLeft 19 Source GLSL 450 20 SourceExtension "GL_AMD_shader_image_load_store_lod" 21 SourceExtension "GL_ARB_gpu_shader_int64" 22 SourceExtension "GL_EXT_shader_image_int64" 23 Name 4 "main" 24 Name 9 "f4" 25 Name 14 "i1D" 26 Name 24 "i2D" 27 Name 34 "i3D" 28 Name 46 "iiCube" 29 Name 53 "ii1DArray" 30 Name 60 "ui2DArray" 31 Name 64 "u4" 32 Name 65 "ResType" 33 Name 71 "uiCubeArray" 34 Name 77 "fragColor" 35 Name 86 "Buf" 36 MemberName 86(Buf) 0 "i64v4" 37 MemberName 86(Buf) 1 "u64v4" 38 Name 88 "" 39 Name 92 "i64i1D" 40 Name 102 "i64i2D" 41 Name 111 "i64i3D" 42 Name 120 "u64iCube" 43 Name 127 "u64i1DArray" 44 Name 133 "u64i2DArray" 45 Name 136 "ResType" 46 Name 142 "u64iCubeArray" 47 Decorate 14(i1D) DescriptorSet 0 48 Decorate 14(i1D) Binding 0 49 Decorate 24(i2D) DescriptorSet 0 50 Decorate 24(i2D) Binding 1 51 Decorate 34(i3D) DescriptorSet 0 52 Decorate 34(i3D) Binding 2 53 Decorate 46(iiCube) DescriptorSet 0 54 Decorate 46(iiCube) Binding 3 55 Decorate 53(ii1DArray) DescriptorSet 0 56 Decorate 53(ii1DArray) Binding 4 57 Decorate 60(ui2DArray) DescriptorSet 0 58 Decorate 60(ui2DArray) Binding 5 59 Decorate 71(uiCubeArray) DescriptorSet 0 60 Decorate 71(uiCubeArray) Binding 6 61 Decorate 77(fragColor) Location 0 62 MemberDecorate 86(Buf) 0 Offset 0 63 MemberDecorate 86(Buf) 1 Offset 32 64 Decorate 86(Buf) BufferBlock 65 Decorate 88 DescriptorSet 0 66 Decorate 88 Binding 14 67 Decorate 92(i64i1D) DescriptorSet 0 68 Decorate 92(i64i1D) Binding 7 69 Decorate 102(i64i2D) DescriptorSet 0 70 Decorate 102(i64i2D) Binding 8 71 Decorate 111(i64i3D) DescriptorSet 0 72 Decorate 111(i64i3D) Binding 9 73 Decorate 120(u64iCube) DescriptorSet 0 74 Decorate 120(u64iCube) Binding 10 75 Decorate 127(u64i1DArray) DescriptorSet 0 76 Decorate 127(u64i1DArray) Binding 11 77 Decorate 133(u64i2DArray) DescriptorSet 0 78 Decorate 133(u64i2DArray) Binding 12 79 Decorate 142(u64iCubeArray) DescriptorSet 0 80 Decorate 142(u64iCubeArray) Binding 13 81 2: TypeVoid 82 3: TypeFunction 2 83 6: TypeFloat 32 84 7: TypeVector 6(float) 4 85 8: TypePointer Function 7(fvec4) 86 10: 6(float) Constant 0 87 11: 7(fvec4) ConstantComposite 10 10 10 10 88 12: TypeImage 6(float) 1D nonsampled format:Rgba32f 89 13: TypePointer UniformConstant 12 90 14(i1D): 13(ptr) Variable UniformConstant 91 16: TypeInt 32 1 92 17: 16(int) Constant 1 93 18: 16(int) Constant 3 94 22: TypeImage 6(float) 2D nonsampled format:Rgba32f 95 23: TypePointer UniformConstant 22 96 24(i2D): 23(ptr) Variable UniformConstant 97 26: TypeVector 16(int) 2 98 27: 16(int) Constant 2 99 28: 26(ivec2) ConstantComposite 27 18 100 32: TypeImage 6(float) 3D nonsampled format:Rgba32f 101 33: TypePointer UniformConstant 32 102 34(i3D): 33(ptr) Variable UniformConstant 103 36: TypeVector 16(int) 3 104 37: 16(int) Constant 4 105 38: 16(int) Constant 5 106 39: 16(int) Constant 6 107 40: 36(ivec3) ConstantComposite 37 38 39 108 44: TypeImage 16(int) Cube nonsampled format:Rgba32i 109 45: TypePointer UniformConstant 44 110 46(iiCube): 45(ptr) Variable UniformConstant 111 49: TypeVector 16(int) 4 112 51: TypeImage 16(int) 1D array nonsampled format:Rgba32i 113 52: TypePointer UniformConstant 51 114 53(ii1DArray): 52(ptr) Variable UniformConstant 115 57: TypeInt 32 0 116 58: TypeImage 57(int) 2D array nonsampled format:Rgba32ui 117 59: TypePointer UniformConstant 58 118 60(ui2DArray): 59(ptr) Variable UniformConstant 119 62: TypeVector 57(int) 4 120 63: TypePointer Function 62(ivec4) 121 65(ResType): TypeStruct 16(int) 62(ivec4) 122 69: TypeImage 57(int) Cube array nonsampled format:Rgba32ui 123 70: TypePointer UniformConstant 69 124 71(uiCubeArray): 70(ptr) Variable UniformConstant 125 76: TypePointer Output 7(fvec4) 126 77(fragColor): 76(ptr) Variable Output 127 82: TypeInt 64 1 128 83: TypeVector 82(int64_t) 4 129 84: TypeInt 64 0 130 85: TypeVector 84(int64_t) 4 131 86(Buf): TypeStruct 83(i64vec4) 85(i64vec4) 132 87: TypePointer Uniform 86(Buf) 133 88: 87(ptr) Variable Uniform 134 89: 16(int) Constant 0 135 90: TypeImage 82(int64_t) 1D nonsampled format:R64i 136 91: TypePointer UniformConstant 90 137 92(i64i1D): 91(ptr) Variable UniformConstant 138 95: TypePointer Uniform 83(i64vec4) 139 100: TypeImage 82(int64_t) 2D nonsampled format:R64i 140 101: TypePointer UniformConstant 100 141 102(i64i2D): 101(ptr) Variable UniformConstant 142 109: TypeImage 82(int64_t) 3D nonsampled format:R64i 143 110: TypePointer UniformConstant 109 144 111(i64i3D): 110(ptr) Variable UniformConstant 145 118: TypeImage 84(int64_t) Cube nonsampled format:R64ui 146 119: TypePointer UniformConstant 118 147 120(u64iCube): 119(ptr) Variable UniformConstant 148 122: TypePointer Uniform 85(i64vec4) 149 125: TypeImage 84(int64_t) 1D array nonsampled format:R64ui 150 126: TypePointer UniformConstant 125 151127(u64i1DArray): 126(ptr) Variable UniformConstant 152 131: TypeImage 84(int64_t) 2D array nonsampled format:R64ui 153 132: TypePointer UniformConstant 131 154133(u64i2DArray): 132(ptr) Variable UniformConstant 155 136(ResType): TypeStruct 16(int) 85(i64vec4) 156 140: TypeImage 84(int64_t) Cube array nonsampled format:R64ui 157 141: TypePointer UniformConstant 140 158142(u64iCubeArray): 141(ptr) Variable UniformConstant 159 4(main): 2 Function None 3 160 5: Label 161 9(f4): 8(ptr) Variable Function 162 64(u4): 63(ptr) Variable Function 163 Store 9(f4) 11 164 15: 12 Load 14(i1D) 165 19: 7(fvec4) ImageRead 15 17 Lod 18 166 20: 7(fvec4) Load 9(f4) 167 21: 7(fvec4) FAdd 20 19 168 Store 9(f4) 21 169 25: 22 Load 24(i2D) 170 29: 7(fvec4) ImageRead 25 28 Lod 18 171 30: 7(fvec4) Load 9(f4) 172 31: 7(fvec4) FAdd 30 29 173 Store 9(f4) 31 174 35: 32 Load 34(i3D) 175 41: 7(fvec4) ImageRead 35 40 Lod 18 176 42: 7(fvec4) Load 9(f4) 177 43: 7(fvec4) FAdd 42 41 178 Store 9(f4) 43 179 47: 44 Load 46(iiCube) 180 48: 7(fvec4) Load 9(f4) 181 50: 49(ivec4) ConvertFToS 48 182 ImageWrite 47 40 50 Lod 18 183 54: 51 Load 53(ii1DArray) 184 55: 7(fvec4) Load 9(f4) 185 56: 49(ivec4) ConvertFToS 55 186 ImageWrite 54 28 56 Lod 18 187 61: 58 Load 60(ui2DArray) 188 66: 65(ResType) ImageSparseRead 61 40 Lod 18 189 67: 62(ivec4) CompositeExtract 66 1 190 Store 64(u4) 67 191 68: 16(int) CompositeExtract 66 0 192 72: 69 Load 71(uiCubeArray) 193 73: 65(ResType) ImageSparseRead 72 40 Lod 18 194 74: 62(ivec4) CompositeExtract 73 1 195 Store 64(u4) 74 196 75: 16(int) CompositeExtract 73 0 197 78: 7(fvec4) Load 9(f4) 198 79: 62(ivec4) Load 64(u4) 199 80: 7(fvec4) ConvertUToF 79 200 81: 7(fvec4) FAdd 78 80 201 Store 77(fragColor) 81 202 93: 90 Load 92(i64i1D) 203 94: 83(i64vec4) ImageRead 93 17 Lod 18 204 96: 95(ptr) AccessChain 88 89 205 97: 83(i64vec4) Load 96 206 98: 83(i64vec4) IAdd 97 94 207 99: 95(ptr) AccessChain 88 89 208 Store 99 98 209 103: 100 Load 102(i64i2D) 210 104: 83(i64vec4) ImageRead 103 28 Lod 18 211 105: 95(ptr) AccessChain 88 89 212 106: 83(i64vec4) Load 105 213 107: 83(i64vec4) IAdd 106 104 214 108: 95(ptr) AccessChain 88 89 215 Store 108 107 216 112: 109 Load 111(i64i3D) 217 113: 83(i64vec4) ImageRead 112 40 Lod 18 218 114: 95(ptr) AccessChain 88 89 219 115: 83(i64vec4) Load 114 220 116: 83(i64vec4) IAdd 115 113 221 117: 95(ptr) AccessChain 88 89 222 Store 117 116 223 121: 118 Load 120(u64iCube) 224 123: 122(ptr) AccessChain 88 17 225 124: 85(i64vec4) Load 123 226 ImageWrite 121 40 124 Lod 18 227 128: 125 Load 127(u64i1DArray) 228 129: 122(ptr) AccessChain 88 17 229 130: 85(i64vec4) Load 129 230 ImageWrite 128 28 130 Lod 18 231 134: 131 Load 133(u64i2DArray) 232 135: 122(ptr) AccessChain 88 17 233 137:136(ResType) ImageSparseRead 134 40 Lod 18 234 138: 85(i64vec4) CompositeExtract 137 1 235 Store 135 138 236 139: 16(int) CompositeExtract 137 0 237 143: 140 Load 142(u64iCubeArray) 238 144: 122(ptr) AccessChain 88 17 239 145:136(ResType) ImageSparseRead 143 40 Lod 18 240 146: 85(i64vec4) CompositeExtract 145 1 241 Store 144 146 242 147: 16(int) CompositeExtract 145 0 243 Return 244 FunctionEnd 245