| SKIP: FAILED |
| |
| <dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: buf0 = struct @align(4) { |
| zero:i32 @offset(0) |
| } |
| |
| Array = struct @align(4) { |
| values:array<i32, 2> @offset(0) |
| } |
| |
| main_out = struct @align(16) { |
| x_GLF_color_1:vec4<f32> @offset(0), @location(0) |
| } |
| |
| %b1 = block { # root |
| %x_7:ptr<uniform, buf0, read> = var @binding_point(0, 0) |
| %x_GLF_color:ptr<private, vec4<f32>, read_write> = var |
| } |
| |
| %main_1 = func():void -> %b2 { |
| %b2 = block { |
| %a:ptr<function, Array, read_write> = var |
| %b:ptr<function, Array, read_write> = var |
| %one:ptr<function, f32, read_write> = var |
| %7:ptr<uniform, i32, read> = access %x_7, 0u |
| %x_10:i32 = load %7 |
| %9:ptr<function, i32, read_write> = access %a, 0u, %x_10 |
| store %9, 1i |
| %x_35:Array = load %a |
| store %b, %x_35 |
| store %one, 0.0f |
| %11:ptr<uniform, i32, read> = access %x_7, 0u |
| %x_11:i32 = load %11 |
| %13:ptr<function, i32, read_write> = access %b, 0u, %x_11 |
| %x_12:i32 = load %13 |
| %15:bool = eq %x_12, 1i |
| if %15 [t: %b3] { # if_1 |
| %b3 = block { # true |
| store %one, 1.0f |
| exit_if # if_1 |
| } |
| } |
| %x_41:f32 = load %one |
| %17:vec4<f32> = construct %x_41, 0.0f, 0.0f, 1.0f |
| store %x_GLF_color, %17 |
| ret |
| } |
| } |
| %tint_symbol = @fragment func():main_out -> %b4 { |
| %b4 = block { |
| %19:void = call %main_1 |
| %20:vec4<f32> = load %x_GLF_color |
| %21:main_out = construct %20 |
| ret %21 |
| } |
| } |
| |
| 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. * |
| ******************************************************************** |