Ben Clayton | 433b4ec | 2021-06-18 18:56:13 +0000 | [diff] [blame] | 1 | RWByteAddressBuffer sb_rw : register(u0, space0); |
| 2 | |
| 3 | void arrayLength_61b1c7() { |
| 4 | uint tint_symbol_2 = 0u; |
| 5 | sb_rw.GetDimensions(tint_symbol_2); |
| 6 | const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u); |
| 7 | uint res = tint_symbol_3; |
| 8 | } |
| 9 | |
| 10 | struct tint_symbol { |
| 11 | float4 value : SV_Position; |
| 12 | }; |
| 13 | |
James Price | a5d73ce | 2021-08-04 22:15:28 +0000 | [diff] [blame] | 14 | float4 vertex_main_inner() { |
Ben Clayton | 433b4ec | 2021-06-18 18:56:13 +0000 | [diff] [blame] | 15 | arrayLength_61b1c7(); |
James Price | a5d73ce | 2021-08-04 22:15:28 +0000 | [diff] [blame] | 16 | return float4(0.0f, 0.0f, 0.0f, 0.0f); |
| 17 | } |
| 18 | |
| 19 | tint_symbol vertex_main() { |
| 20 | const float4 inner_result = vertex_main_inner(); |
| 21 | tint_symbol wrapper_result = (tint_symbol)0; |
| 22 | wrapper_result.value = inner_result; |
| 23 | return wrapper_result; |
Ben Clayton | 433b4ec | 2021-06-18 18:56:13 +0000 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | void fragment_main() { |
| 27 | arrayLength_61b1c7(); |
| 28 | return; |
| 29 | } |
| 30 | |
| 31 | [numthreads(1, 1, 1)] |
| 32 | void compute_main() { |
| 33 | arrayLength_61b1c7(); |
| 34 | return; |
| 35 | } |