blob: a55e951bbc950198c2cb4beda2fc64bbea425c5f [file] [log] [blame]
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec3<i32>;
fn subgroupMax_4ea90e() -> vec3<i32> {
var res : vec3<i32> = subgroupMax(vec3<i32>(1i));
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupMax_4ea90e();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupMax_4ea90e();
}