| // |
| // fragment_main |
| // |
| |
| RWByteAddressBuffer prevent_dce : register(u0); |
| RWTexture2DArray<int4> arg_0 : register(u0, space1); |
| int4 textureLoad_ed55a8() { |
| int2 v = int2((int(1)).xx); |
| int4 res = int4(arg_0.Load(int4(v, int(1u), int(0)))); |
| return res; |
| } |
| |
| void fragment_main() { |
| prevent_dce.Store4(0u, asuint(textureLoad_ed55a8())); |
| } |
| |
| // |
| // compute_main |
| // |
| |
| RWByteAddressBuffer prevent_dce : register(u0); |
| RWTexture2DArray<int4> arg_0 : register(u0, space1); |
| int4 textureLoad_ed55a8() { |
| int2 v = int2((int(1)).xx); |
| int4 res = int4(arg_0.Load(int4(v, int(1u), int(0)))); |
| return res; |
| } |
| |
| [numthreads(1, 1, 1)] |
| void compute_main() { |
| prevent_dce.Store4(0u, asuint(textureLoad_ed55a8())); |
| } |
| |