blob: 03ca6e0e7bdc3eee31ce2425535d3017bb6f31a7 [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
float16_t quadSwapX_a4e103() {
float16_t res = QuadReadAcrossX(float16_t(1.0h));
return res;
}
void fragment_main() {
prevent_dce.Store<float16_t>(0u, quadSwapX_a4e103());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<float16_t>(0u, quadSwapX_a4e103());
}