| SKIP: FAILED |
| |
| <dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: strided_arr = struct @align(4) { |
| el:u32 @offset(0) |
| } |
| |
| buf1 = struct @align(4) { |
| x_GLF_uniform_uint_values:array<strided_arr, 2> @offset(0) |
| } |
| |
| strided_arr_1 = struct @align(4) { |
| el:f32 @offset(0) |
| } |
| |
| buf2 = struct @align(4) { |
| x_GLF_uniform_float_values:array<strided_arr_1, 1> @offset(0) |
| } |
| |
| strided_arr_2 = struct @align(4) { |
| el:i32 @offset(0) |
| } |
| |
| buf0 = struct @align(4) { |
| x_GLF_uniform_int_values:array<strided_arr_2, 2> @offset(0) |
| } |
| |
| main_out = struct @align(16) { |
| x_GLF_color_1:vec4<f32> @offset(0), @location(0) |
| } |
| |
| %b1 = block { # root |
| %x_6:ptr<uniform, buf1, read> = var @binding_point(0, 1) |
| %x_8:ptr<uniform, buf2, read> = var @binding_point(0, 2) |
| %x_GLF_color:ptr<private, vec4<f32>, read_write> = var |
| %x_12:ptr<uniform, buf0, read> = var @binding_point(0, 0) |
| } |
| |
| %main_1 = func():void -> %b2 { |
| %b2 = block { |
| %a:ptr<function, u32, read_write> = var |
| %b:ptr<function, f32, read_write> = var |
| %c:ptr<function, u32, read_write> = var |
| %9:ptr<uniform, u32, read> = access %x_6, 0u, 0i, 0u |
| %x_38:u32 = load %9 |
| %11:ptr<uniform, f32, read> = access %x_8, 0u, 0i, 0u |
| %x_40:f32 = load %11 |
| %13:u32 = convert %x_40 |
| %14:u32 = shiftr %x_38, %13 |
| store %a, %14 |
| %x_43:u32 = load %a |
| %16:f32 = bitcast %x_43 |
| store %b, %16 |
| %x_45:f32 = load %b |
| %18:u32 = bitcast %x_45 |
| store %c, %18 |
| %x_47:u32 = load %c |
| %20:ptr<uniform, u32, read> = access %x_6, 0u, 0i, 0u |
| %x_49:u32 = load %20 |
| %22:bool = eq %x_47, %x_49 |
| if %22 [t: %b3, f: %b4] { # if_1 |
| %b3 = block { # true |
| %23:ptr<uniform, i32, read> = access %x_12, 0u, 0i, 0u |
| %x_55:i32 = load %23 |
| %25:ptr<uniform, i32, read> = access %x_12, 0u, 1i, 0u |
| %x_58:i32 = load %25 |
| %27:ptr<uniform, i32, read> = access %x_12, 0u, 1i, 0u |
| %x_61:i32 = load %27 |
| %29:ptr<uniform, i32, read> = access %x_12, 0u, 0i, 0u |
| %x_64:i32 = load %29 |
| %31:f32 = convert %x_55 |
| %32:f32 = convert %x_58 |
| %33:f32 = convert %x_61 |
| %34:f32 = convert %x_64 |
| %35:vec4<f32> = construct %31, %32, %33, %34 |
| store %x_GLF_color, %35 |
| exit_if # if_1 |
| } |
| %b4 = block { # false |
| %x_67:f32 = load %b |
| %37:vec4<f32> = construct %x_67, %x_67, %x_67, %x_67 |
| store %x_GLF_color, %37 |
| exit_if # if_1 |
| } |
| } |
| ret |
| } |
| } |
| %tint_symbol = @fragment func():main_out -> %b5 { |
| %b5 = block { |
| %39:void = call %main_1 |
| %40:vec4<f32> = load %x_GLF_color |
| %41:main_out = construct %40 |
| ret %41 |
| } |
| } |
| |
| 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. * |
| ******************************************************************** |