blob: 27e9246eb935c234bc84cf5262526ccfa26da99a [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, subgroupAdd_b61df7());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, subgroupAdd_b61df7());
}
FXC validation failure:
<scrubbed_path>(4,14-30): error X3004: undeclared identifier 'WaveActiveSum'
tint executable returned error: exit status 1