| SKIP: FAILED |
| |
| ../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: Inner = struct @align(16) { |
| m:mat2x4<f32> @offset(0) |
| } |
| |
| Outer = struct @align(16) { |
| a:array<Inner, 4> @offset(0) |
| } |
| |
| $B1: { # root |
| %a:ptr<uniform, array<Outer, 4>, read> = var @binding_point(0, 0) |
| %counter:ptr<private, i32, read_write> = var, 0i |
| } |
| |
| %i = func():i32 { |
| $B2: { |
| %4:i32 = load %counter |
| %5:i32 = add %4, 1i |
| store %counter, %5 |
| %6:i32 = load %counter |
| ret %6 |
| } |
| } |
| %f = @compute @workgroup_size(1, 1, 1) func():void { |
| $B3: { |
| %p_a:ptr<uniform, array<Outer, 4>, read> = let %a |
| %9:i32 = call %i |
| %10:ptr<uniform, Outer, read> = access %p_a, %9 |
| %p_a_i:ptr<uniform, Outer, read> = let %10 |
| %12:ptr<uniform, array<Inner, 4>, read> = access %p_a_i, 0u |
| %p_a_i_a:ptr<uniform, array<Inner, 4>, read> = let %12 |
| %14:i32 = call %i |
| %15:ptr<uniform, Inner, read> = access %p_a_i_a, %14 |
| %p_a_i_a_i:ptr<uniform, Inner, read> = let %15 |
| %17:ptr<uniform, mat2x4<f32>, read> = access %p_a_i_a_i, 0u |
| %p_a_i_a_i_m:ptr<uniform, mat2x4<f32>, read> = let %17 |
| %19:i32 = call %i |
| %20:ptr<uniform, vec4<f32>, read> = access %p_a_i_a_i_m, %19 |
| %p_a_i_a_i_m_i:ptr<uniform, vec4<f32>, read> = let %20 |
| %22:array<Outer, 4> = load %p_a |
| %l_a:array<Outer, 4> = let %22 |
| %24:Outer = load %p_a_i |
| %l_a_i:Outer = let %24 |
| %26:array<Inner, 4> = load %p_a_i_a |
| %l_a_i_a:array<Inner, 4> = let %26 |
| %28:Inner = load %p_a_i_a_i |
| %l_a_i_a_i:Inner = let %28 |
| %30:mat2x4<f32> = load %p_a_i_a_i_m |
| %l_a_i_a_i_m:mat2x4<f32> = let %30 |
| %32:vec4<f32> = load %p_a_i_a_i_m_i |
| %l_a_i_a_i_m_i:vec4<f32> = let %32 |
| %34:i32 = call %i |
| %35:f32 = load_vector_element %p_a_i_a_i_m_i, %34 |
| %l_a_i_a_i_m_i_i:f32 = let %35 |
| 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. * |
| ******************************************************************** |