Natalie Chouinard | 6ee6330 | 2024-06-25 20:45:30 +0000 | [diff] [blame] | 1 | RWByteAddressBuffer prevent_dce : register(u0); |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 2 | RWTexture2DArray<int4> arg_0 : register(u0, space1); |
| 3 | |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 4 | uint2 textureDimensions_674058() { |
Ben Clayton | 068eb3e | 2023-03-08 02:48:34 +0000 | [diff] [blame] | 5 | uint3 tint_tmp; |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 6 | arg_0.GetDimensions(tint_tmp.x, tint_tmp.y, tint_tmp.z); |
| 7 | uint2 res = tint_tmp.xy; |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 8 | return res; |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 9 | } |
| 10 | |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 11 | void fragment_main() { |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 12 | prevent_dce.Store2(0u, asuint(textureDimensions_674058())); |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 13 | return; |
| 14 | } |
| 15 | |
| 16 | [numthreads(1, 1, 1)] |
| 17 | void compute_main() { |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 18 | prevent_dce.Store2(0u, asuint(textureDimensions_674058())); |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 19 | return; |
| 20 | } |