blob: 1173d3eecb3ac40760dec98b1893cc9de3fceb8e [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
int2 subgroupInclusiveAdd_fabbde() {
int2 arg_0 = (1).xx;
int2 res = (WavePrefixSum(arg_0) + arg_0);
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, asuint(subgroupInclusiveAdd_fabbde()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupInclusiveAdd_fabbde()));
return;
}