| SKIP: FAILED |
| |
| ../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: strided_arr = struct @align(4) { |
| el:f32 @offset(0) |
| } |
| |
| buf0 = struct @align(4) { |
| x_GLF_uniform_float_values:array<strided_arr, 5> @offset(0) |
| } |
| |
| main_out = struct @align(16) { |
| x_GLF_color_1:vec4<f32> @offset(0), @location(0) |
| } |
| |
| $B1: { # root |
| %x_6:ptr<uniform, buf0, read> = var @binding_point(0, 0) |
| %x_GLF_color:ptr<private, vec4<f32>, read_write> = var |
| } |
| |
| %main_1 = func():void { |
| $B2: { |
| %a:ptr<function, f32, read_write> = var |
| %b:ptr<function, f32, read_write> = var |
| %x_51:ptr<function, bool, read_write> = var |
| %x_52:ptr<function, bool, read_write> = var |
| %8:ptr<uniform, f32, read> = access %x_6, 0u, 2i, 0u |
| %9:f32 = load %8 |
| %10:ptr<uniform, f32, read> = access %x_6, 0u, 3i, 0u |
| %11:f32 = load %10 |
| %12:ptr<uniform, f32, read> = access %x_6, 0u, 3i, 0u |
| %13:f32 = load %12 |
| %14:ptr<uniform, f32, read> = access %x_6, 0u, 2i, 0u |
| %15:f32 = load %14 |
| %16:bool = gt %13, %15 |
| %17:f32 = select %9, %11, %16 |
| store %a, %17 |
| %18:f32 = load %a |
| %19:f32 = log %18 |
| %20:f32 = cos %19 |
| store %b, %20 |
| %21:f32 = load %b |
| %22:vec4<f32> = construct %21 |
| store %x_GLF_color, %22 |
| %23:f32 = load %b |
| %24:ptr<uniform, f32, read> = access %x_6, 0u, 0i, 0u |
| %25:f32 = load %24 |
| %26:bool = gt %23, %25 |
| %x_45:bool = let %26 |
| store %x_52, %x_45 |
| if %x_45 [t: $B3] { # if_1 |
| $B3: { # true |
| %28:f32 = load %b |
| %29:ptr<uniform, f32, read> = access %x_6, 0u, 1i, 0u |
| %30:f32 = load %29 |
| %31:bool = lt %28, %30 |
| store %x_51, %31 |
| %32:bool = load %x_51 |
| store %x_52, %32 |
| exit_if # if_1 |
| } |
| } |
| %33:bool = load %x_52 |
| if %33 [t: $B4] { # if_2 |
| $B4: { # true |
| %34:ptr<uniform, f32, read> = access %x_6, 0u, 3i, 0u |
| %35:f32 = load %34 |
| %36:ptr<uniform, f32, read> = access %x_6, 0u, 4i, 0u |
| %37:f32 = load %36 |
| %38:ptr<uniform, f32, read> = access %x_6, 0u, 4i, 0u |
| %39:f32 = load %38 |
| %40:ptr<uniform, f32, read> = access %x_6, 0u, 3i, 0u |
| %41:f32 = load %40 |
| %42:vec4<f32> = construct %35, %37, %39, %41 |
| store %x_GLF_color, %42 |
| exit_if # if_2 |
| } |
| } |
| ret |
| } |
| } |
| %tint_symbol = @fragment func():main_out { |
| $B5: { |
| %44:void = call %main_1 |
| %45:vec4<f32> = load %x_GLF_color |
| %46:main_out = construct %45 |
| ret %46 |
| } |
| } |
| |
| 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. * |
| ******************************************************************** |