2b3d1f2086
Constant propagation might be going away, but static-switches are likely here to stay. Avoid conflating the two in this test. Change-Id: If4b6c99c85f124d3bbc20da858693f09f5e4fd59 Bug: skia:11319 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/374117 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
9 lines
143 B
Plaintext
9 lines
143 B
Plaintext
half4 main() {
|
|
@switch (int(sqrt(1))) {
|
|
case 1:
|
|
return half4(1);
|
|
default:
|
|
return half4(0);
|
|
}
|
|
}
|