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