James Price | 88c231b | 2023-08-15 12:47:28 +0000 | [diff] [blame] | 1 | @group(1) @binding(0) var arg_0 : texture_storage_1d<rgba32sint, read>; |
| 2 | |
| 3 | fn textureLoad_ddeed3() { |
| 4 | var res : vec4<i32> = textureLoad(arg_0, 1i); |
| 5 | prevent_dce = res; |
| 6 | } |
| 7 | |
| 8 | @group(2) @binding(0) var<storage, read_write> prevent_dce : vec4<i32>; |
| 9 | |
| 10 | @vertex |
| 11 | fn vertex_main() -> @builtin(position) vec4<f32> { |
| 12 | textureLoad_ddeed3(); |
| 13 | return vec4<f32>(); |
| 14 | } |
| 15 | |
| 16 | @fragment |
| 17 | fn fragment_main() { |
| 18 | textureLoad_ddeed3(); |
| 19 | } |
| 20 | |
| 21 | @compute @workgroup_size(1) |
| 22 | fn compute_main() { |
| 23 | textureLoad_ddeed3(); |
| 24 | } |