RWByteAddressBuffer prevent_dce : register(u0);

float subgroupBroadcast_867093() {
  float arg_0 = 1.0f;
  float res = WaveReadLaneAt(arg_0, 1);
  return res;
}

void fragment_main() {
  prevent_dce.Store(0u, asuint(subgroupBroadcast_867093()));
  return;
}

[numthreads(1, 1, 1)]
void compute_main() {
  prevent_dce.Store(0u, asuint(subgroupBroadcast_867093()));
  return;
}
