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