blob: 0ff517d9a50adb6db79955d6b615ad769c1f33e8 [file] [log] [blame]
dan sinclairf1f381a2023-11-22 09:44:15 +00001SKIP: FAILED
2
dan sinclairb4697b762023-11-24 09:42:19 +00003<dawn>/src/tint/lang/msl/writer/printer/printer.cc:469 internal compiler error: %b1 = block { # root
dan sinclairf1f381a2023-11-22 09:44:15 +00004 %arg_0:ptr<handle, texture_storage_3d<rgba16sint, write>, read> = var @binding_point(1, 0)
5 %prevent_dce:ptr<storage, vec3<u32>, read_write> = var @binding_point(2, 0)
6}
7
8%textureDimensions_591981 = func():void -> %b2 {
9 %b2 = block {
10 %4:texture_storage_3d<rgba16sint, write> = load %arg_0
11 %5:vec3<u32> = textureDimensions %4
12 %res:ptr<function, vec3<u32>, read_write> = var, %5
13 %7:vec3<u32> = load %res
14 store %prevent_dce, %7
15 ret
16 }
17}
18%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
19 %b3 = block {
20 %9:void = call %textureDimensions_591981
21 ret vec4<f32>(0.0f)
22 }
23}
24%fragment_main = @fragment func():void -> %b4 {
25 %b4 = block {
26 %11:void = call %textureDimensions_591981
27 ret
28 }
29}
30%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
31 %b5 = block {
32 %13:void = call %textureDimensions_591981
33 ret
34 }
35}
36
37unhandled variable address space
38********************************************************************
39* The tint shader compiler has encountered an unexpected error. *
40* *
41* Please help us fix this issue by submitting a bug report at *
42* crbug.com/tint with the source program that triggered the bug. *
43********************************************************************