Ben Clayton | 01e4b6f | 2022-01-19 22:46:57 +0000 | [diff] [blame] | 1 | @group(1) @binding(0) var arg_0 : texture_storage_1d<rgba16sint, write>; |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 2 | |
| 3 | fn textureStore_5a2f8f() { |
| 4 | textureStore(arg_0, 1, vec4<i32>()); |
| 5 | } |
| 6 | |
Ben Clayton | 01e4b6f | 2022-01-19 22:46:57 +0000 | [diff] [blame] | 7 | @stage(vertex) |
| 8 | fn vertex_main() -> @builtin(position) vec4<f32> { |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 9 | textureStore_5a2f8f(); |
James Price | 9fd3bef | 2021-06-04 17:31:48 +0000 | [diff] [blame] | 10 | return vec4<f32>(); |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 11 | } |
| 12 | |
Ben Clayton | 01e4b6f | 2022-01-19 22:46:57 +0000 | [diff] [blame] | 13 | @stage(fragment) |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 14 | fn fragment_main() { |
| 15 | textureStore_5a2f8f(); |
| 16 | } |
| 17 | |
Ben Clayton | 01e4b6f | 2022-01-19 22:46:57 +0000 | [diff] [blame] | 18 | @stage(compute) @workgroup_size(1) |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 19 | fn compute_main() { |
| 20 | textureStore_5a2f8f(); |
| 21 | } |