Natalie Chouinard | 6ee6330 | 2024-06-25 20:45:30 +0000 | [diff] [blame] | 1 | RWByteAddressBuffer prevent_dce : register(u0); |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 2 | RWTexture3D<int4> arg_0 : register(u0, space1); |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 3 | |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 4 | int4 textureLoad_d7996a() { |
Jiawei Shao | a54554a | 2023-11-13 08:24:12 +0000 | [diff] [blame] | 5 | int4 res = arg_0.Load(int3((1).xxx)); |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 6 | return res; |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 7 | } |
| 8 | |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 9 | void fragment_main() { |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 10 | prevent_dce.Store4(0u, asuint(textureLoad_d7996a())); |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 11 | return; |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 12 | } |
| 13 | |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 14 | [numthreads(1, 1, 1)] |
| 15 | void compute_main() { |
Natalie Chouinard | e902718 | 2024-06-13 18:50:19 +0000 | [diff] [blame] | 16 | prevent_dce.Store4(0u, asuint(textureLoad_d7996a())); |
James Price | a6287df | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 17 | return; |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 18 | } |