blob: 50fc74f227d59c48ed8d9068d41e2d1e787dbf6b [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
uint2 subgroupAdd_1280c8() {
uint2 res = WaveActiveSum((1u).xx);
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, subgroupAdd_1280c8());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, subgroupAdd_1280c8());
}
FXC validation failure:
<scrubbed_path>(4,15-36): error X3004: undeclared identifier 'WaveActiveSum'