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