blob: a0b521d65897c358274eb2cd8b988de6bbd17899 [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: Constants = struct @align(4) {
zero:u32 @offset(0)
}
Result = struct @align(4) {
value:u32 @offset(0)
}
TestData = struct @align(4) {
data:array<atomic<i32>, 3> @offset(0)
}
%b1 = block { # root
%constants:ptr<uniform, Constants, read> = var @binding_point(1, 0)
%result:ptr<storage, Result, read_write> = var @binding_point(1, 1)
%s:ptr<storage, TestData, read_write> = var @binding_point(0, 0)
}
%runTest = func():i32 -> %b2 {
%b2 = block {
%5:ptr<uniform, u32, read> = access %constants, 0u
%6:u32 = load %5
%7:u32 = construct %6
%8:u32 = add 0u, %7
%9:ptr<storage, atomic<i32>, read_write> = access %s, 0u, %8
%10:i32 = atomicLoad %9
ret %10
}
}
%tint_symbol = @compute @workgroup_size(1, 1, 1) func():void -> %b3 {
%b3 = block {
%12:ptr<storage, u32, read_write> = access %result, 0u
%13:i32 = call %runTest
%14:u32 = convert %13
store %12, %14
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. *
********************************************************************