blob: abfedb8f033ef7670b194cd20f5e7e13b0a21c3e [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: $B1: { # root
%u:ptr<uniform, array<mat2x2<f32>, 4>, read> = var @binding_point(0, 0)
%s:ptr<storage, f32, read_write> = var @binding_point(0, 1)
%p:ptr<private, array<mat2x2<f32>, 4>, read_write> = var
}
%f = @compute @workgroup_size(1, 1, 1) func():void {
$B2: {
%5:array<mat2x2<f32>, 4> = load %u
store %p, %5
%6:ptr<private, mat2x2<f32>, read_write> = access %p, 1i
%7:ptr<uniform, mat2x2<f32>, read> = access %u, 2i
%8:mat2x2<f32> = load %7
store %6, %8
%9:ptr<private, vec2<f32>, read_write> = access %p, 1i, 0i
%10:ptr<uniform, vec2<f32>, read> = access %u, 0i, 1i
%11:vec2<f32> = load %10
%12:vec2<f32> = swizzle %11, yx
store %9, %12
%13:ptr<private, vec2<f32>, read_write> = access %p, 1i, 0i
%14:ptr<uniform, vec2<f32>, read> = access %u, 0i, 1i
%15:f32 = load_vector_element %14, 0u
store_vector_element %13, 0u, %15
%16:ptr<private, vec2<f32>, read_write> = access %p, 1i, 0i
%17:f32 = load_vector_element %16, 0u
store %s, %17
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. *
********************************************************************