| SKIP: FAILED |
| |
| ../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: S = struct @align(4) { |
| field0:array<u32> @offset(0) |
| } |
| |
| $B1: { # root |
| %x_3:ptr<private, vec3<u32>, read_write> = var |
| %x_6:ptr<storage, S, read_write> = var @binding_point(0, 0) |
| %x_7:ptr<storage, S, read_write> = var @binding_point(0, 1) |
| %x_8:ptr<storage, S, read_write> = var @binding_point(0, 2) |
| %x_9:ptr<storage, S, read_write> = var @binding_point(0, 3) |
| } |
| |
| %main_1 = func():void { |
| $B2: { |
| %7:u32 = load_vector_element %x_3, 0u |
| %x_23:u32 = let %7 |
| %9:ptr<storage, u32, read_write> = access %x_6, 0u, %x_23 |
| %10:u32 = load %9 |
| %x_25:u32 = let %10 |
| %12:ptr<storage, u32, read_write> = access %x_7, 0u, %x_23 |
| %13:u32 = load %12 |
| %x_27:u32 = let %13 |
| %15:ptr<storage, u32, read_write> = access %x_8, 0u, %x_23 |
| %16:u32 = load %15 |
| %x_29:u32 = let %16 |
| %18:ptr<storage, u32, read_write> = access %x_9, 0u, %x_23 |
| %19:i32 = bitcast %x_25 |
| %20:i32 = let %19 |
| %21:i32 = bitcast %x_27 |
| %22:i32 = let %21 |
| %23:i32 = bitcast %x_29 |
| %24:i32 = let %23 |
| %25:i32 = max %20, %22 |
| %26:i32 = min %25, %24 |
| %27:u32 = bitcast %26 |
| store %18, %27 |
| ret |
| } |
| } |
| %tint_symbol = @compute @workgroup_size(1, 1, 1) func(%x_3_param:vec3<u32> [@global_invocation_id]):void { |
| $B3: { |
| store %x_3, %x_3_param |
| %30:void = call %main_1 |
| 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. * |
| ******************************************************************** |