blob: 0878cf47cfa6f01d1ace4c92f0183c9bf09708df [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
uint subgroupAdd_b61df7() {
uint res = WaveActiveSum(1u);
return res;
}
void fragment_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_b61df7()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_b61df7()));
return;
}
FXC validation failure:
<scrubbed_path>(4,14-30): error X3004: undeclared identifier 'WaveActiveSum'
tint executable returned error: exit status 1