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