James Price | 88c231b | 2023-08-15 12:47:28 +0000 | [diff] [blame] | 1 | Texture3D<float4> arg_0 : register(t0, space1); |
| 2 | RWByteAddressBuffer prevent_dce : register(u0, space2); |
| 3 | |
| 4 | void textureLoad_0674b1() { |
| 5 | float4 res = arg_0.Load(uint4((1u).xxx, uint(0))); |
| 6 | prevent_dce.Store4(0u, asuint(res)); |
| 7 | } |
| 8 | |
| 9 | struct tint_symbol { |
| 10 | float4 value : SV_Position; |
| 11 | }; |
| 12 | |
| 13 | float4 vertex_main_inner() { |
| 14 | textureLoad_0674b1(); |
| 15 | return (0.0f).xxxx; |
| 16 | } |
| 17 | |
| 18 | tint_symbol vertex_main() { |
Antonio Maiorano | 144ebed | 2024-01-30 16:30:15 +0000 | [diff] [blame] | 19 | float4 inner_result = vertex_main_inner(); |
James Price | 88c231b | 2023-08-15 12:47:28 +0000 | [diff] [blame] | 20 | tint_symbol wrapper_result = (tint_symbol)0; |
| 21 | wrapper_result.value = inner_result; |
| 22 | return wrapper_result; |
| 23 | } |
| 24 | |
| 25 | void fragment_main() { |
| 26 | textureLoad_0674b1(); |
| 27 | return; |
| 28 | } |
| 29 | |
| 30 | [numthreads(1, 1, 1)] |
| 31 | void compute_main() { |
| 32 | textureLoad_0674b1(); |
| 33 | return; |
| 34 | } |