blob: 409cfd454feafd65c89bb722cc697ba8e64febc5 [file] [log] [blame]
James Priced90c72b2023-08-11 00:45:54 +00001SKIP: FAILED
2
3
4enable chromium_experimental_read_write_storage_texture;
5
6@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba32float, read_write>;
7
8fn textureLoad_878e24() {
9 var res : vec4<f32> = textureLoad(arg_0, vec2<u32>(1u), 1u);
10 prevent_dce = res;
11}
12
13@group(2) @binding(0) var<storage, read_write> prevent_dce : vec4<f32>;
14
15@vertex
16fn vertex_main() -> @builtin(position) vec4<f32> {
17 textureLoad_878e24();
18 return vec4<f32>();
19}
20
21@fragment
22fn fragment_main() {
23 textureLoad_878e24();
24}
25
26@compute @workgroup_size(1)
27fn compute_main() {
28 textureLoad_878e24();
29}
30
31Failed to generate: builtins/gen/literal/textureLoad/878e24.wgsl:24:8 error: MSL backend does not support extension 'chromium_experimental_read_write_storage_texture'
32enable chromium_experimental_read_write_storage_texture;
33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34