SKIP: FAILED

<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: strided_arr = struct @align(4) {
  el:f32 @offset(0)
}

buf0 = struct @align(4) {
  x_GLF_uniform_float_values:array<strided_arr, 1> @offset(0)
}

strided_arr_1 = struct @align(4) {
  el:i32 @offset(0)
}

buf1 = struct @align(4) {
  x_GLF_uniform_int_values:array<strided_arr_1, 2> @offset(0)
}

main_out = struct @align(16) {
  x_GLF_color_1:vec4<f32> @offset(0), @location(0)
}

%b1 = block {  # root
  %gl_FragCoord:ptr<private, vec4<f32>, read_write> = var
  %x_8:ptr<uniform, buf0, read> = var @binding_point(0, 0)
  %x_GLF_color:ptr<private, vec4<f32>, read_write> = var
  %x_10:ptr<uniform, buf1, read> = var @binding_point(0, 1)
}

%main_1 = func():void -> %b2 {
  %b2 = block {
    %f0:ptr<function, f32, read_write> = var
    %f1:ptr<function, f32, read_write> = var
    store %f0, 1.0f
    %8:f32 = load %f0
    %9:f32 = fract %8
    store %f1, %9
    %10:f32 = load_vector_element %gl_FragCoord, 0u
    %11:ptr<uniform, f32, read> = access %x_8, 0u, 0i, 0u
    %12:f32 = load %11
    %13:bool = gt %10, %12
    if %13 [t: %b3, f: %b4] {  # if_1
      %b3 = block {  # true
        %14:ptr<uniform, i32, read> = access %x_10, 0u, 1i, 0u
        %15:i32 = load %14
        %16:f32 = convert %15
        %17:ptr<uniform, i32, read> = access %x_10, 0u, 0i, 0u
        %18:i32 = load %17
        %19:f32 = convert %18
        %20:ptr<uniform, i32, read> = access %x_10, 0u, 0i, 0u
        %21:i32 = load %20
        %22:f32 = convert %21
        %23:ptr<uniform, i32, read> = access %x_10, 0u, 1i, 0u
        %24:i32 = load %23
        %25:f32 = convert %24
        %26:vec4<f32> = construct %16, %19, %22, %25
        store %x_GLF_color, %26
        exit_if  # if_1
      }
      %b4 = block {  # false
        %27:f32 = load %f1
        %28:vec4<f32> = construct %27
        store %x_GLF_color, %28
        exit_if  # if_1
      }
    }
    ret
  }
}
%tint_symbol = @fragment func(%gl_FragCoord_param:vec4<f32> [@position]):main_out -> %b5 {
  %b5 = block {
    store %gl_FragCoord, %gl_FragCoord_param
    %31:void = call %main_1
    %32:vec4<f32> = load %x_GLF_color
    %33:main_out = construct %32
    ret %33
  }
}

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.  *
********************************************************************
