blob: 8e25743687c0dfbb6826dd10da57b77d1d656a84 [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_1d<rgba8sint, read_write>, read> = var @binding_point(1, 0)
5}
6
James Pricea30f8dd2024-05-10 14:31:43 +00007%textureStore_65b6aa = func():void {
8 $B2: {
dan sinclairf1f381a2023-11-22 09:44:15 +00009 %3:texture_storage_1d<rgba8sint, read_write> = load %arg_0
10 %4:void = textureStore %3, 1i, vec4<i32>(1i)
11 ret
12 }
13}
James Pricea30f8dd2024-05-10 14:31:43 +000014%vertex_main = @vertex func():vec4<f32> [@position] {
15 $B3: {
dan sinclairf1f381a2023-11-22 09:44:15 +000016 %6:void = call %textureStore_65b6aa
17 ret vec4<f32>(0.0f)
18 }
19}
James Pricea30f8dd2024-05-10 14:31:43 +000020%fragment_main = @fragment func():void {
21 $B4: {
dan sinclairf1f381a2023-11-22 09:44:15 +000022 %8:void = call %textureStore_65b6aa
23 ret
24 }
25}
James Pricea30f8dd2024-05-10 14:31:43 +000026%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
27 $B5: {
dan sinclairf1f381a2023-11-22 09:44:15 +000028 %10:void = call %textureStore_65b6aa
29 ret
30 }
31}
32
33invalid access control for storage texture
34********************************************************************
35* The tint shader compiler has encountered an unexpected error. *
36* *
37* Please help us fix this issue by submitting a bug report at *
38* crbug.com/tint with the source program that triggered the bug. *
39********************************************************************