| SKIP: FAILED |
| |
| <dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: %b1 = block { # root |
| %rarr:ptr<storage, array<f32>, read> = var @binding_point(0, 0) |
| } |
| |
| %vector = func():void -> %b2 { |
| %b2 = block { |
| %idx:i32 = let 3i |
| %x:i32 = access vec2<i32>(1i, 2i), %idx |
| ret |
| } |
| } |
| %tint_symbol = func():void -> %b3 { |
| %b3 = block { |
| %idx_1:i32 = let 4i # %idx_1: 'idx' |
| %x_1:vec2<f32> = access mat2x2<f32>(vec2<f32>(1.0f, 2.0f), vec2<f32>(3.0f, 4.0f)), %idx_1 # %x_1: 'x' |
| ret |
| } |
| } |
| %fixed_size_array = func():void -> %b4 { |
| %b4 = block { |
| %arr:array<i32, 2> = let array<i32, 2>(1i, 2i) |
| %idx_2:i32 = let 3i # %idx_2: 'idx' |
| %x_2:i32 = access %arr, %idx_2 # %x_2: 'x' |
| ret |
| } |
| } |
| %runtime_size_array = func():void -> %b5 { |
| %b5 = block { |
| %idx_3:i32 = let -1i # %idx_3: 'idx' |
| %14:ptr<storage, f32, read> = access %rarr, %idx_3 |
| %x_3:f32 = load %14 # %x_3: 'x' |
| ret |
| } |
| } |
| %f = @compute @workgroup_size(1, 1, 1) func():void -> %b6 { |
| %b6 = block { |
| %17:void = call %vector |
| %18:void = call %tint_symbol |
| %19:void = call %fixed_size_array |
| %20:void = call %runtime_size_array |
| 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. * |
| ******************************************************************** |