8e369b0a5a
This fixes a driver bug with the Nexus 7 while retaining the meaningful part of the test. Change-Id: I98edab32132f0c52a1f69b03efd403fae43c336b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/450482 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
21 lines
376 B
Plaintext
21 lines
376 B
Plaintext
void increment(inout float a, inout float b, inout float c) {
|
|
a++, b++, c++;
|
|
}
|
|
|
|
half4 main(float2 coords) {
|
|
float a = 1, b = 2, c = 3;
|
|
if (false) {
|
|
a++, b++, c++;
|
|
}
|
|
for (int x=0; x<1; ++x) {
|
|
continue;
|
|
increment(a, b, c);
|
|
}
|
|
float d = c;
|
|
float e = d;
|
|
b++;
|
|
d++;
|
|
|
|
return half4(b == 2, b == 3, d == 5, d == 4);
|
|
}
|