| SKIP: FAILED |
| |
| ../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: $B1: { # root |
| %prevent_dce:ptr<storage, vec3<u32>, read_write> = var @binding_point(2, 0) |
| } |
| |
| %insertBits_87826b = func():void { |
| $B2: { |
| %arg_0:ptr<function, vec3<u32>, read_write> = var, vec3<u32>(1u) |
| %arg_1:ptr<function, vec3<u32>, read_write> = var, vec3<u32>(1u) |
| %arg_2:ptr<function, u32, read_write> = var, 1u |
| %arg_3:ptr<function, u32, read_write> = var, 1u |
| %7:vec3<u32> = load %arg_0 |
| %8:vec3<u32> = let %7 |
| %9:vec3<u32> = load %arg_1 |
| %10:vec3<u32> = let %9 |
| %11:u32 = load %arg_2 |
| %12:u32 = load %arg_3 |
| %13:u32 = let %12 |
| %14:u32 = min %11, 32u |
| %15:u32 = let %14 |
| %16:u32 = sub 32u, %15 |
| %17:u32 = min %13, %16 |
| %18:vec3<u32> = insertBits %8, %10, %15, %17 |
| %res:ptr<function, vec3<u32>, read_write> = var, %18 |
| %20:vec3<u32> = load %res |
| store %prevent_dce, %20 |
| ret |
| } |
| } |
| %vertex_main = @vertex func():vec4<f32> [@position] { |
| $B3: { |
| %22:void = call %insertBits_87826b |
| ret vec4<f32>(0.0f) |
| } |
| } |
| %fragment_main = @fragment func():void { |
| $B4: { |
| %24:void = call %insertBits_87826b |
| ret |
| } |
| } |
| %compute_main = @compute @workgroup_size(1, 1, 1) func():void { |
| $B5: { |
| %26:void = call %insertBits_87826b |
| ret |
| } |
| } |
| |
| unhandled variable address space |
| ******************************************************************** |
| * The tint shader compiler has encountered an unexpected error. * |
| * * |
| * Please help us fix this issue by submitting a bug report at * |
| * crbug.com/tint with the source program that triggered the bug. * |
| ******************************************************************** |