blob: c3bb67f9a514e31c5d98e1d50fc5e447dbdc4d37 [file] [log] [blame]
dan sinclairf1f381a2023-11-22 09:44:15 +00001SKIP: FAILED
2
James Pricea30f8dd2024-05-10 14:31:43 +00003../../src/tint/lang/msl/writer/printer/printer.cc:1164 internal compiler error: $B1: { # root
dan sinclairf1f381a2023-11-22 09:44:15 +00004 %arg_0:ptr<handle, texture_storage_2d_array<r32uint, read_write>, read> = var @binding_point(1, 0)
5}
6
James Pricea30f8dd2024-05-10 14:31:43 +00007%textureStore_8cd841 = func():void {
8 $B2: {
dan sinclairf1f381a2023-11-22 09:44:15 +00009 %arg_1:ptr<function, vec2<i32>, read_write> = var, vec2<i32>(1i)
10 %arg_2:ptr<function, u32, read_write> = var, 1u
11 %arg_3:ptr<function, vec4<u32>, read_write> = var, vec4<u32>(1u)
12 %6:texture_storage_2d_array<r32uint, read_write> = load %arg_0
13 %7:vec2<i32> = load %arg_1
14 %8:u32 = load %arg_2
15 %9:vec4<u32> = load %arg_3
16 %10:void = textureStore %6, %7, %8, %9
17 ret
18 }
19}
James Pricea30f8dd2024-05-10 14:31:43 +000020%vertex_main = @vertex func():vec4<f32> [@position] {
21 $B3: {
dan sinclairf1f381a2023-11-22 09:44:15 +000022 %12:void = call %textureStore_8cd841
23 ret vec4<f32>(0.0f)
24 }
25}
James Pricea30f8dd2024-05-10 14:31:43 +000026%fragment_main = @fragment func():void {
27 $B4: {
dan sinclairf1f381a2023-11-22 09:44:15 +000028 %14:void = call %textureStore_8cd841
29 ret
30 }
31}
James Pricea30f8dd2024-05-10 14:31:43 +000032%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
33 $B5: {
dan sinclairf1f381a2023-11-22 09:44:15 +000034 %16:void = call %textureStore_8cd841
35 ret
36 }
37}
38
39invalid access control for storage texture
40********************************************************************
41* The tint shader compiler has encountered an unexpected error. *
42* *
43* Please help us fix this issue by submitting a bug report at *
44* crbug.com/tint with the source program that triggered the bug. *
45********************************************************************