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