blob: 856f17c67bcab06029a681ce917649d0c1efdf6a [file] [log] [blame]
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec3<f32>;
fn subgroupMax_7e81ea() -> vec3<f32> {
var res : vec3<f32> = subgroupMax(vec3<f32>(1.0f));
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupMax_7e81ea();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupMax_7e81ea();
}