Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 1 | @group(1) @binding(0) var arg_0 : texture_storage_2d<rgba16uint, write>; |
| 2 | |
| 3 | fn textureDimensions_e99308() { |
| 4 | var res : vec2<u32> = textureDimensions(arg_0); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 5 | prevent_dce = res; |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 6 | } |
| 7 | |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 8 | @group(2) @binding(0) var<storage, read_write> prevent_dce : vec2<u32>; |
| 9 | |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 10 | @vertex |
| 11 | fn vertex_main() -> @builtin(position) vec4<f32> { |
| 12 | textureDimensions_e99308(); |
| 13 | return vec4<f32>(); |
| 14 | } |
| 15 | |
| 16 | @fragment |
| 17 | fn fragment_main() { |
| 18 | textureDimensions_e99308(); |
| 19 | } |
| 20 | |
| 21 | @compute @workgroup_size(1) |
| 22 | fn compute_main() { |
| 23 | textureDimensions_e99308(); |
| 24 | } |