blob: 1f98789d73f6e46d6fd7cc32b473fc294715682d [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
uint2 subgroupExclusiveAdd_48acea() {
uint2 res = WavePrefixSum((1u).xx);
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, asuint(subgroupExclusiveAdd_48acea()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupExclusiveAdd_48acea()));
return;
}
FXC validation failure:
<scrubbed_path>(4,15-36): error X3004: undeclared identifier 'WavePrefixSum'
tint executable returned error: exit status 1