blob: cf53eb737f0ab4ea1d144b065bfa8d27f4a5b14c [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
int subgroupAdd_ba53f9() {
int res = WaveActiveSum(1);
return res;
}
void fragment_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_ba53f9()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_ba53f9()));
return;
}
FXC validation failure:
<scrubbed_path>(4,13-28): error X3004: undeclared identifier 'WaveActiveSum'