blob: f5742b91ba623b42449555ff5a365aafddee63f1 [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'
tint executable returned error: exit status 1