1 spv.8bitstorage-int.frag 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 172 5 6 Capability Shader 7 Capability CapabilityUniformAndStorageBuffer8BitAccess 8 Extension "SPV_KHR_8bit_storage" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Fragment 4 "main" 12 ExecutionMode 4 OriginUpperLeft 13 Source GLSL 450 14 SourceExtension "GL_EXT_shader_8bit_storage" 15 Name 4 "main" 16 Name 12 "S" 17 MemberName 12(S) 0 "x" 18 MemberName 12(S) 1 "y" 19 MemberName 12(S) 2 "z" 20 Name 17 "B2" 21 MemberName 17(B2) 0 "o" 22 MemberName 17(B2) 1 "p" 23 MemberName 17(B2) 2 "q" 24 MemberName 17(B2) 3 "r" 25 MemberName 17(B2) 4 "u" 26 MemberName 17(B2) 5 "v" 27 MemberName 17(B2) 6 "x" 28 MemberName 17(B2) 7 "w" 29 Name 19 "b2" 30 Name 23 "S" 31 MemberName 23(S) 0 "x" 32 MemberName 23(S) 1 "y" 33 MemberName 23(S) 2 "z" 34 Name 25 "B1" 35 MemberName 25(B1) 0 "a" 36 MemberName 25(B1) 1 "b" 37 MemberName 25(B1) 2 "c" 38 MemberName 25(B1) 3 "d" 39 MemberName 25(B1) 4 "g" 40 MemberName 25(B1) 5 "h" 41 MemberName 25(B1) 6 "j" 42 Name 27 "b1" 43 Name 45 "S" 44 MemberName 45(S) 0 "x" 45 MemberName 45(S) 1 "y" 46 MemberName 45(S) 2 "z" 47 Name 49 "B5" 48 MemberName 49(B5) 0 "o" 49 MemberName 49(B5) 1 "p" 50 MemberName 49(B5) 2 "q" 51 MemberName 49(B5) 3 "r" 52 MemberName 49(B5) 4 "u" 53 MemberName 49(B5) 5 "v" 54 MemberName 49(B5) 6 "x" 55 MemberName 49(B5) 7 "w" 56 Name 51 "b5" 57 Name 69 "x0" 58 Name 75 "x1" 59 Name 88 "S2" 60 MemberName 88(S2) 0 "x" 61 MemberName 88(S2) 1 "y" 62 MemberName 88(S2) 2 "z" 63 Name 89 "S3" 64 MemberName 89(S3) 0 "x" 65 Name 90 "B4" 66 MemberName 90(B4) 0 "x" 67 MemberName 90(B4) 1 "y" 68 Name 92 "b4" 69 Name 93 "S2" 70 MemberName 93(S2) 0 "x" 71 MemberName 93(S2) 1 "y" 72 MemberName 93(S2) 2 "z" 73 Name 94 "B3" 74 MemberName 94(B3) 0 "x" 75 Name 96 "b3" 76 Name 113 "v3" 77 Name 135 "u3" 78 Decorate 11 ArrayStride 1 79 MemberDecorate 12(S) 0 Offset 0 80 MemberDecorate 12(S) 1 Offset 2 81 MemberDecorate 12(S) 2 Offset 4 82 Decorate 13 ArrayStride 8 83 Decorate 15 ArrayStride 2 84 Decorate 16 ArrayStride 1 85 MemberDecorate 17(B2) 0 Offset 0 86 MemberDecorate 17(B2) 1 Offset 2 87 MemberDecorate 17(B2) 2 Offset 4 88 MemberDecorate 17(B2) 3 Offset 7 89 MemberDecorate 17(B2) 4 Offset 12 90 MemberDecorate 17(B2) 5 Offset 20 91 MemberDecorate 17(B2) 6 Offset 36 92 MemberDecorate 17(B2) 7 Offset 236 93 Decorate 17(B2) BufferBlock 94 Decorate 19(b2) DescriptorSet 0 95 Decorate 19(b2) Binding 0 96 Decorate 22 ArrayStride 16 97 MemberDecorate 23(S) 0 Offset 0 98 MemberDecorate 23(S) 1 Offset 2 99 MemberDecorate 23(S) 2 Offset 4 100 Decorate 24 ArrayStride 16 101 MemberDecorate 25(B1) 0 Offset 0 102 MemberDecorate 25(B1) 1 Offset 2 103 MemberDecorate 25(B1) 2 Offset 4 104 MemberDecorate 25(B1) 3 Offset 16 105 MemberDecorate 25(B1) 4 Offset 48 106 MemberDecorate 25(B1) 5 Offset 64 107 MemberDecorate 25(B1) 6 Offset 96 108 Decorate 25(B1) Block 109 Decorate 27(b1) DescriptorSet 0 110 Decorate 27(b1) Binding 0 111 Decorate 44 ArrayStride 16 112 MemberDecorate 45(S) 0 Offset 0 113 MemberDecorate 45(S) 1 Offset 2 114 MemberDecorate 45(S) 2 Offset 4 115 Decorate 46 ArrayStride 16 116 Decorate 47 ArrayStride 16 117 Decorate 48 ArrayStride 16 118 MemberDecorate 49(B5) 0 Offset 0 119 MemberDecorate 49(B5) 1 Offset 2 120 MemberDecorate 49(B5) 2 Offset 4 121 MemberDecorate 49(B5) 3 Offset 16 122 MemberDecorate 49(B5) 4 Offset 48 123 MemberDecorate 49(B5) 5 Offset 64 124 MemberDecorate 49(B5) 6 Offset 96 125 MemberDecorate 49(B5) 7 Offset 1696 126 Decorate 49(B5) Block 127 Decorate 51(b5) DescriptorSet 0 128 Decorate 51(b5) Binding 0 129 MemberDecorate 88(S2) 0 ColMajor 130 MemberDecorate 88(S2) 0 Offset 0 131 MemberDecorate 88(S2) 0 MatrixStride 16 132 MemberDecorate 88(S2) 1 Offset 64 133 MemberDecorate 88(S2) 2 Offset 68 134 MemberDecorate 89(S3) 0 Offset 0 135 MemberDecorate 90(B4) 0 Offset 0 136 MemberDecorate 90(B4) 1 Offset 80 137 Decorate 90(B4) BufferBlock 138 Decorate 92(b4) DescriptorSet 0 139 Decorate 92(b4) Binding 0 140 MemberDecorate 93(S2) 0 RowMajor 141 MemberDecorate 93(S2) 0 Offset 0 142 MemberDecorate 93(S2) 0 MatrixStride 16 143 MemberDecorate 93(S2) 1 Offset 64 144 MemberDecorate 93(S2) 2 Offset 68 145 MemberDecorate 94(B3) 0 Offset 0 146 Decorate 94(B3) BufferBlock 147 Decorate 96(b3) DescriptorSet 0 148 Decorate 96(b3) Binding 0 149 2: TypeVoid 150 3: TypeFunction 2 151 6: TypeInt 8 1 152 7: TypeVector 6(int8_t) 2 153 8: TypeVector 6(int8_t) 3 154 9: TypeInt 32 0 155 10: 9(int) Constant 2 156 11: TypeArray 6(int8_t) 10 157 12(S): TypeStruct 6(int8_t) 7(i8vec2) 8(i8vec3) 158 13: TypeArray 12(S) 10 159 14: 9(int) Constant 100 160 15: TypeArray 7(i8vec2) 14 161 16: TypeRuntimeArray 6(int8_t) 162 17(B2): TypeStruct 6(int8_t) 7(i8vec2) 8(i8vec3) 11 12(S) 13 15 16 163 18: TypePointer Uniform 17(B2) 164 19(b2): 18(ptr) Variable Uniform 165 20: TypeInt 32 1 166 21: 20(int) Constant 0 167 22: TypeArray 6(int8_t) 10 168 23(S): TypeStruct 6(int8_t) 7(i8vec2) 8(i8vec3) 169 24: TypeArray 23(S) 10 170 25(B1): TypeStruct 6(int8_t) 7(i8vec2) 8(i8vec3) 22 23(S) 24 20(int) 171 26: TypePointer Uniform 25(B1) 172 27(b1): 26(ptr) Variable Uniform 173 28: TypePointer Uniform 6(int8_t) 174 32: 20(int) Constant 1 175 33: 20(int) Constant 2 176 34: TypePointer Uniform 8(i8vec3) 177 37: TypeVector 20(int) 3 178 39: TypeVector 20(int) 2 179 42: TypePointer Uniform 7(i8vec2) 180 44: TypeArray 6(int8_t) 10 181 45(S): TypeStruct 6(int8_t) 7(i8vec2) 8(i8vec3) 182 46: TypeArray 45(S) 10 183 47: TypeArray 7(i8vec2) 14 184 48: TypeArray 6(int8_t) 14 185 49(B5): TypeStruct 6(int8_t) 7(i8vec2) 8(i8vec3) 44 45(S) 46 47 48 186 50: TypePointer Uniform 49(B5) 187 51(b5): 50(ptr) Variable Uniform 188 58: 20(int) Constant 3 189 68: TypePointer Function 20(int) 190 73: TypeVector 20(int) 4 191 74: TypePointer Function 73(ivec4) 192 85: TypeFloat 32 193 86: TypeVector 85(float) 4 194 87: TypeMatrix 86(fvec4) 4 195 88(S2): TypeStruct 87 6(int8_t) 20(int) 196 89(S3): TypeStruct 88(S2) 197 90(B4): TypeStruct 88(S2) 89(S3) 198 91: TypePointer Uniform 90(B4) 199 92(b4): 91(ptr) Variable Uniform 200 93(S2): TypeStruct 87 6(int8_t) 20(int) 201 94(B3): TypeStruct 93(S2) 202 95: TypePointer Uniform 94(B3) 203 96(b3): 95(ptr) Variable Uniform 204 97: TypePointer Uniform 87 205 104: 9(int) Constant 0 206 108: 20(int) Constant 5 207 112: TypePointer Function 37(ivec3) 208 114: 20(int) Constant 7 209 115: 20(int) Constant 6 210 116: TypePointer Uniform 20(int) 211 166: 6(int8_t) Constant 1 212 167: 6(int8_t) Constant 2 213 168: 7(i8vec2) ConstantComposite 166 167 214 170: 6(int8_t) Constant 3 215 4(main): 2 Function None 3 216 5: Label 217 69(x0): 68(ptr) Variable Function 218 75(x1): 74(ptr) Variable Function 219 113(v3): 112(ptr) Variable Function 220 135(u3): 112(ptr) Variable Function 221 29: 28(ptr) AccessChain 27(b1) 21 222 30: 6(int8_t) Load 29 223 31: 28(ptr) AccessChain 19(b2) 21 224 Store 31 30 225 35: 34(ptr) AccessChain 19(b2) 33 226 36: 8(i8vec3) Load 35 227 38: 37(ivec3) SConvert 36 228 40: 39(ivec2) VectorShuffle 38 38 0 1 229 41: 7(i8vec2) SConvert 40 230 43: 42(ptr) AccessChain 19(b2) 32 231 Store 43 41 232 52: 34(ptr) AccessChain 51(b5) 33 233 53: 8(i8vec3) Load 52 234 54: 37(ivec3) SConvert 53 235 55: 39(ivec2) VectorShuffle 54 54 0 1 236 56: 7(i8vec2) SConvert 55 237 57: 42(ptr) AccessChain 19(b2) 32 238 Store 57 56 239 59: 28(ptr) AccessChain 19(b2) 58 21 240 60: 6(int8_t) Load 59 241 61: 28(ptr) AccessChain 19(b2) 58 21 242 Store 61 60 243 62: 28(ptr) AccessChain 51(b5) 58 32 244 63: 6(int8_t) Load 62 245 64: 28(ptr) AccessChain 19(b2) 58 32 246 Store 64 63 247 65: 42(ptr) AccessChain 19(b2) 32 248 66: 7(i8vec2) Load 65 249 67: 42(ptr) AccessChain 19(b2) 32 250 Store 67 66 251 70: 28(ptr) AccessChain 27(b1) 21 252 71: 6(int8_t) Load 70 253 72: 20(int) SConvert 71 254 Store 69(x0) 72 255 76: 28(ptr) AccessChain 27(b1) 21 256 77: 6(int8_t) Load 76 257 78: 20(int) SConvert 77 258 79: 42(ptr) AccessChain 19(b2) 32 259 80: 7(i8vec2) Load 79 260 81: 39(ivec2) SConvert 80 261 82: 20(int) CompositeExtract 81 0 262 83: 20(int) CompositeExtract 81 1 263 84: 73(ivec4) CompositeConstruct 78 82 83 32 264 Store 75(x1) 84 265 98: 97(ptr) AccessChain 96(b3) 21 21 266 99: 87 Load 98 267 100: 97(ptr) AccessChain 92(b4) 21 21 268 Store 100 99 269 101: 42(ptr) AccessChain 19(b2) 32 270 102: 7(i8vec2) Load 101 271 103: 39(ivec2) SConvert 102 272 105: 20(int) CompositeExtract 103 0 273 106: 6(int8_t) SConvert 105 274 107: 28(ptr) AccessChain 19(b2) 21 275 Store 107 106 276 109: 42(ptr) AccessChain 19(b2) 108 32 32 277 110: 7(i8vec2) Load 109 278 111: 42(ptr) AccessChain 19(b2) 32 279 Store 111 110 280 117: 116(ptr) AccessChain 27(b1) 115 281 118: 20(int) Load 117 282 119: 28(ptr) AccessChain 19(b2) 114 118 283 120: 6(int8_t) Load 119 284 121: 20(int) SConvert 120 285 122: 116(ptr) AccessChain 27(b1) 115 286 123: 20(int) Load 122 287 124: 20(int) IAdd 123 32 288 125: 28(ptr) AccessChain 19(b2) 114 124 289 126: 6(int8_t) Load 125 290 127: 20(int) SConvert 126 291 128: 116(ptr) AccessChain 27(b1) 115 292 129: 20(int) Load 128 293 130: 20(int) IAdd 129 33 294 131: 28(ptr) AccessChain 19(b2) 114 130 295 132: 6(int8_t) Load 131 296 133: 20(int) SConvert 132 297 134: 37(ivec3) CompositeConstruct 121 127 133 298 Store 113(v3) 134 299 136: 116(ptr) AccessChain 27(b1) 115 300 137: 20(int) Load 136 301 138: 28(ptr) AccessChain 51(b5) 114 137 302 139: 6(int8_t) Load 138 303 140: 20(int) SConvert 139 304 141: 116(ptr) AccessChain 27(b1) 115 305 142: 20(int) Load 141 306 143: 20(int) IAdd 142 32 307 144: 28(ptr) AccessChain 51(b5) 114 143 308 145: 6(int8_t) Load 144 309 146: 20(int) SConvert 145 310 147: 116(ptr) AccessChain 27(b1) 115 311 148: 20(int) Load 147 312 149: 20(int) IAdd 148 33 313 150: 28(ptr) AccessChain 51(b5) 114 149 314 151: 6(int8_t) Load 150 315 152: 20(int) SConvert 151 316 153: 37(ivec3) CompositeConstruct 140 146 152 317 Store 135(u3) 153 318 154: 42(ptr) AccessChain 19(b2) 115 21 319 155: 7(i8vec2) Load 154 320 156: 42(ptr) AccessChain 19(b2) 115 21 321 Store 156 155 322 157: 42(ptr) AccessChain 51(b5) 115 32 323 158: 7(i8vec2) Load 157 324 159: 42(ptr) AccessChain 19(b2) 115 32 325 Store 159 158 326 160: 28(ptr) AccessChain 27(b1) 21 327 161: 6(int8_t) Load 160 328 162: 28(ptr) AccessChain 19(b2) 32 104 329 Store 162 161 330 163: 28(ptr) AccessChain 19(b2) 32 104 331 164: 6(int8_t) Load 163 332 165: 28(ptr) AccessChain 19(b2) 21 333 Store 165 164 334 169: 42(ptr) AccessChain 19(b2) 32 335 Store 169 168 336 171: 28(ptr) AccessChain 19(b2) 21 337 Store 171 170 338 Return 339 FunctionEnd 340