James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 1 | RWTexture2DArray<uint4> arg_0 : register(u0, space1); |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 2 | |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 3 | void textureStore_0ade9a() { |
| 4 | uint2 arg_1 = (1u).xx; |
| 5 | uint arg_2 = 1u; |
| 6 | uint4 arg_3 = (1u).xxxx; |
| 7 | arg_0[uint3(arg_1, arg_2)] = arg_3; |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 8 | } |
| 9 | |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 10 | struct tint_symbol { |
| 11 | float4 value : SV_Position; |
| 12 | }; |
| 13 | |
| 14 | float4 vertex_main_inner() { |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 15 | textureStore_0ade9a(); |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 16 | return (0.0f).xxxx; |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 17 | } |
| 18 | |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 19 | tint_symbol vertex_main() { |
Antonio Maiorano | 144ebed | 2024-01-30 16:30:15 +0000 | [diff] [blame] | 20 | float4 inner_result = vertex_main_inner(); |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 21 | tint_symbol wrapper_result = (tint_symbol)0; |
| 22 | wrapper_result.value = inner_result; |
| 23 | return wrapper_result; |
| 24 | } |
| 25 | |
| 26 | void fragment_main() { |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 27 | textureStore_0ade9a(); |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 28 | return; |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 29 | } |
| 30 | |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 31 | [numthreads(1, 1, 1)] |
| 32 | void compute_main() { |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 33 | textureStore_0ade9a(); |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 34 | return; |
James Price | 807f3ef | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 35 | } |