Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 1 | Texture2DArray arg_0 : register(t0, space1); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 2 | RWByteAddressBuffer prevent_dce : register(u0, space2); |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 3 | |
| 4 | void textureDimensions_a4cd56() { |
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; |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 8 | prevent_dce.Store2(0u, asuint(res)); |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | struct tint_symbol { |
| 12 | float4 value : SV_Position; |
| 13 | }; |
| 14 | |
| 15 | float4 vertex_main_inner() { |
| 16 | textureDimensions_a4cd56(); |
| 17 | return (0.0f).xxxx; |
| 18 | } |
| 19 | |
| 20 | tint_symbol vertex_main() { |
Antonio Maiorano | 144ebed | 2024-01-30 16:30:15 +0000 | [diff] [blame] | 21 | float4 inner_result = vertex_main_inner(); |
Ben Clayton | 13f0890 | 2022-10-26 18:36:44 +0000 | [diff] [blame] | 22 | tint_symbol wrapper_result = (tint_symbol)0; |
| 23 | wrapper_result.value = inner_result; |
| 24 | return wrapper_result; |
| 25 | } |
| 26 | |
| 27 | void fragment_main() { |
| 28 | textureDimensions_a4cd56(); |
| 29 | return; |
| 30 | } |
| 31 | |
| 32 | [numthreads(1, 1, 1)] |
| 33 | void compute_main() { |
| 34 | textureDimensions_a4cd56(); |
| 35 | return; |
| 36 | } |