blob: f4a72c3c37e147ffb91c4b814a229b38015e6a05 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: $B1: { # root
%prevent_dce:ptr<storage, mat4x3<f32>, read_write> = var @binding_point(2, 0)
}
%transpose_d8f8ba = func():void {
$B2: {
%res:ptr<function, mat4x3<f32>, read_write> = var, mat4x3<f32>(vec3<f32>(1.0f))
%4:mat4x3<f32> = load %res
%5:void = call %tint_store_and_preserve_padding, %prevent_dce, %4
ret
}
}
%vertex_main = @vertex func():vec4<f32> [@position] {
$B3: {
%8:void = call %transpose_d8f8ba
ret vec4<f32>(0.0f)
}
}
%fragment_main = @fragment func():void {
$B4: {
%10:void = call %transpose_d8f8ba
ret
}
}
%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
$B5: {
%12:void = call %transpose_d8f8ba
ret
}
}
%tint_store_and_preserve_padding = func(%target:ptr<storage, mat4x3<f32>, read_write>, %value_param:mat4x3<f32>):void {
$B6: {
%15:ptr<storage, vec3<f32>, read_write> = access %target, 0u
%16:vec3<f32> = access %value_param, 0u
store %15, %16
%17:ptr<storage, vec3<f32>, read_write> = access %target, 1u
%18:vec3<f32> = access %value_param, 1u
store %17, %18
%19:ptr<storage, vec3<f32>, read_write> = access %target, 2u
%20:vec3<f32> = access %value_param, 2u
store %19, %20
%21:ptr<storage, vec3<f32>, read_write> = access %target, 3u
%22:vec3<f32> = access %value_param, 3u
store %21, %22
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. *
********************************************************************