| 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, 2> @offset(0) |
| } |
| |
| buf1 = struct @align(4) { |
| zero:f32 @offset(0) |
| } |
| |
| main_out = struct @align(16) { |
| x_GLF_color_1:vec4<f32> @offset(0), @location(0) |
| } |
| |
| %b1 = block { # root |
| %x_6:ptr<uniform, buf0, read> = var @binding_point(0, 0) |
| %x_9:ptr<uniform, buf1, read> = var @binding_point(0, 1) |
| %x_GLF_color:ptr<private, vec4<f32>, read_write> = var |
| } |
| |
| %main_1 = func():void -> %b2 { |
| %b2 = block { |
| %v0:ptr<function, vec2<f32>, read_write> = var |
| %v1:ptr<function, vec4<f32>, read_write> = var |
| %x_57:ptr<function, vec4<f32>, read_write> = var |
| %8:ptr<uniform, f32, read> = access %x_6, 0u, 0i, 0u |
| %x_32:f32 = load %8 |
| %10:vec2<f32> = construct %x_32, %x_32 |
| store %v0, %10 |
| %x_35:f32 = load_vector_element %v0, 0u |
| %x_36:vec4<f32> = construct %x_35, %x_35, %x_35, %x_35 |
| store %v1, %x_36 |
| %13:ptr<uniform, f32, read> = access %x_9, 0u |
| %x_38:f32 = load %13 |
| %15:ptr<uniform, f32, read> = access %x_6, 0u, 0i, 0u |
| %x_40:f32 = load %15 |
| %17:bool = eq %x_38, %x_40 |
| %18:bool = eq %17, false |
| if %18 [t: %b3, f: %b4] { # if_1 |
| %b3 = block { # true |
| %19:ptr<uniform, f32, read> = access %x_9, 0u |
| %x_46:f32 = load %19 |
| %21:ptr<uniform, f32, read> = access %x_6, 0u, 1i, 0u |
| %x_48:f32 = load %21 |
| %23:bool = eq %x_46, %x_48 |
| if %23 [t: %b5] { # if_2 |
| %b5 = block { # true |
| ret |
| } |
| } |
| %24:ptr<uniform, f32, read> = access %x_6, 0u, 0i, 0u |
| %x_53:f32 = load %24 |
| %26:f32 = access %x_36, 1u |
| %27:f32 = access %x_36, 2u |
| %28:vec2<f32> = construct %26, %27 |
| %29:vec2<f32> = construct %x_53, %x_53 |
| %x_56:vec2<f32> = sub %28, %29 |
| %31:f32 = access %x_36, 0u |
| %32:f32 = access %x_56, 0u |
| %33:f32 = access %x_56, 1u |
| %34:f32 = access %x_36, 3u |
| %35:vec4<f32> = construct %31, %32, %33, %34 |
| store %x_57, %35 |
| %36:vec4<f32> = load %x_57 |
| store %v1, %36 |
| exit_if # if_1 |
| } |
| %b4 = block { # false |
| discard |
| exit_if # if_1 |
| } |
| } |
| %37:vec4<f32> = load %x_57 |
| store %x_GLF_color, %37 |
| ret |
| } |
| } |
| %tint_symbol = @fragment func():main_out -> %b6 { |
| %b6 = 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. * |
| ******************************************************************** |