Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 1 | Texture3D<float4> arg_0 : register(t0, space1); |
| 2 | |
| 3 | void textureDimensions_8aa4c4() { |
| 4 | int3 tint_tmp; |
| 5 | arg_0.GetDimensions(tint_tmp.x, tint_tmp.y, tint_tmp.z); |
| 6 | int3 res = tint_tmp; |
| 7 | } |
| 8 | |
Ben Clayton | 5d2f34e | 2021-06-16 09:19:36 +0000 | [diff] [blame] | 9 | struct tint_symbol { |
| 10 | float4 value : SV_Position; |
| 11 | }; |
| 12 | |
James Price | a5d73ce | 2021-08-04 22:15:28 +0000 | [diff] [blame] | 13 | float4 vertex_main_inner() { |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 14 | textureDimensions_8aa4c4(); |
James Price | a5d73ce | 2021-08-04 22:15:28 +0000 | [diff] [blame] | 15 | return float4(0.0f, 0.0f, 0.0f, 0.0f); |
| 16 | } |
| 17 | |
| 18 | tint_symbol vertex_main() { |
| 19 | const float4 inner_result = vertex_main_inner(); |
| 20 | tint_symbol wrapper_result = (tint_symbol)0; |
| 21 | wrapper_result.value = inner_result; |
| 22 | return wrapper_result; |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | void fragment_main() { |
| 26 | textureDimensions_8aa4c4(); |
| 27 | return; |
| 28 | } |
| 29 | |
| 30 | [numthreads(1, 1, 1)] |
| 31 | void compute_main() { |
| 32 | textureDimensions_8aa4c4(); |
| 33 | return; |
| 34 | } |