blob: bb5be48d68b6f01b985cceffe768b98ad98317c1 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: $B1: { # root
%u:ptr<uniform, array<mat4x4<f16>, 4>, read> = var @binding_point(0, 0)
%s:ptr<storage, f16, read_write> = var @binding_point(0, 1)
}
%a = func(%a_1:array<mat4x4<f16>, 4>):f16 { # %a_1: 'a'
$B2: {
%5:f16 = access %a_1, 0i, 0i, 0u
ret %5
}
}
%b = func(%m:mat4x4<f16>):f16 {
$B3: {
%8:f16 = access %m, 0i, 0u
ret %8
}
}
%c = func(%v:vec4<f16>):f16 {
$B4: {
%11:f16 = access %v, 0u
ret %11
}
}
%d = func(%f:f16):f16 {
$B5: {
ret %f
}
}
%f_1 = @compute @workgroup_size(1, 1, 1) func():void { # %f_1: 'f'
$B6: {
%15:array<mat4x4<f16>, 4> = load %u
%16:f16 = call %a, %15
%17:f16 = let %16
%18:ptr<uniform, mat4x4<f16>, read> = access %u, 1i
%19:mat4x4<f16> = load %18
%20:f16 = call %b, %19
%21:f16 = add %17, %20
%22:f16 = let %21
%23:ptr<uniform, vec4<f16>, read> = access %u, 1i, 0i
%24:vec4<f16> = load %23
%25:vec4<f16> = swizzle %24, ywxz
%26:f16 = call %c, %25
%27:f16 = add %22, %26
%28:f16 = let %27
%29:ptr<uniform, vec4<f16>, read> = access %u, 1i, 0i
%30:vec4<f16> = load %29
%31:vec4<f16> = swizzle %30, ywxz
%32:f16 = access %31, 0u
%33:f16 = call %d, %32
%34:f16 = add %28, %33
store %s, %34
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. *
********************************************************************