James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 1 | enable chromium_experimental_read_write_storage_texture; |
| 2 | |
| 3 | @group(1) @binding(0) var arg_0 : texture_storage_2d<rg32float, read_write>; |
| 4 | |
| 5 | fn textureStore_ab788e() { |
| 6 | var arg_1 = vec2<i32>(1i); |
| 7 | var arg_2 = vec4<f32>(1.0f); |
| 8 | textureStore(arg_0, arg_1, arg_2); |
| 9 | } |
| 10 | |
| 11 | @vertex |
| 12 | fn vertex_main() -> @builtin(position) vec4<f32> { |
| 13 | textureStore_ab788e(); |
| 14 | return vec4<f32>(); |
| 15 | } |
| 16 | |
| 17 | @fragment |
| 18 | fn fragment_main() { |
| 19 | textureStore_ab788e(); |
| 20 | } |
| 21 | |
| 22 | @compute @workgroup_size(1) |
| 23 | fn compute_main() { |
| 24 | textureStore_ab788e(); |
| 25 | } |