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