• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform half4 colorGreen;
2
3half4 main(float2 coords) {
4    // We should see only one `OpConstantComposite %v2float %float_3 %float_3` in the output.
5    float2 a = max(coords, 3.0);
6    float2 b = min(coords, 3.0);
7    a = b;
8    return colorGreen;
9}
10