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