James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
| 3 | |
| 4 | enable chromium_experimental_read_write_storage_texture; |
| 5 | |
| 6 | @group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba32float, read_write>; |
| 7 | |
| 8 | fn 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 |
| 16 | fn vertex_main() -> @builtin(position) vec4<f32> { |
| 17 | textureLoad_878e24(); |
| 18 | return vec4<f32>(); |
| 19 | } |
| 20 | |
| 21 | @fragment |
| 22 | fn fragment_main() { |
| 23 | textureLoad_878e24(); |
| 24 | } |
| 25 | |
| 26 | @compute @workgroup_size(1) |
| 27 | fn compute_main() { |
| 28 | textureLoad_878e24(); |
| 29 | } |
| 30 | |
| 31 | Failed to generate: builtins/gen/literal/textureLoad/878e24.wgsl:24:8 error: MSL backend does not support extension 'chromium_experimental_read_write_storage_texture' |
| 32 | enable chromium_experimental_read_write_storage_texture; |
| 33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 34 | |