| SKIP: FAILED |
| |
| ../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: S = struct @align(64) { |
| before:i32 @offset(0) |
| m:mat2x4<f32> @offset(16) |
| after:i32 @offset(64) |
| } |
| |
| $B1: { # root |
| %u:ptr<uniform, array<S, 4>, read> = var @binding_point(0, 0) |
| } |
| |
| %a = func(%a_1:array<S, 4>):void { # %a_1: 'a' |
| $B2: { |
| ret |
| } |
| } |
| %b = func(%s:S):void { |
| $B3: { |
| ret |
| } |
| } |
| %c = func(%m:mat2x4<f32>):void { |
| $B4: { |
| ret |
| } |
| } |
| %d = func(%v:vec4<f32>):void { |
| $B5: { |
| ret |
| } |
| } |
| %e = func(%f:f32):void { |
| $B6: { |
| ret |
| } |
| } |
| %f_1 = @compute @workgroup_size(1, 1, 1) func():void { # %f_1: 'f' |
| $B7: { |
| %13:array<S, 4> = load %u |
| %14:void = call %a, %13 |
| %15:ptr<uniform, S, read> = access %u, 2i |
| %16:S = load %15 |
| %17:void = call %b, %16 |
| %18:ptr<uniform, mat2x4<f32>, read> = access %u, 2i, 1u |
| %19:mat2x4<f32> = load %18 |
| %20:void = call %c, %19 |
| %21:ptr<uniform, vec4<f32>, read> = access %u, 0i, 1u, 1i |
| %22:vec4<f32> = load %21 |
| %23:vec4<f32> = swizzle %22, ywxz |
| %24:void = call %d, %23 |
| %25:ptr<uniform, vec4<f32>, read> = access %u, 0i, 1u, 1i |
| %26:vec4<f32> = load %25 |
| %27:vec4<f32> = swizzle %26, ywxz |
| %28:f32 = access %27, 0u |
| %29:void = call %e, %28 |
| ret |
| } |
| } |
| |
| 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. * |
| ******************************************************************** |