RWByteAddressBuffer prevent_dce : register(u0); | |
int3 quadSwapDiagonal_a82e1d() { | |
int3 res = QuadReadAcrossDiagonal((1).xxx); | |
return res; | |
} | |
void fragment_main() { | |
prevent_dce.Store3(0u, asuint(quadSwapDiagonal_a82e1d())); | |
return; | |
} | |
[numthreads(1, 1, 1)] | |
void compute_main() { | |
prevent_dce.Store3(0u, asuint(quadSwapDiagonal_a82e1d())); | |
return; | |
} |