blob: a9de6ff966a859b821e36cd1e13f5dd8a7080c0f [file] [log] [blame]
enable subgroups;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec4<f32>;
fn subgroupBroadcastFirst_8ae580() -> vec4<f32> {
var arg_0 = vec4<f32>(1.0f);
var res : vec4<f32> = subgroupBroadcastFirst(arg_0);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = subgroupBroadcastFirst_8ae580();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = subgroupBroadcastFirst_8ae580();
}