bfc9be0f77
This will allow us to load these inputs for unit testing in `dm`. Change-Id: Id256ba7c30d3ec94b98048e47af44cf9efe580d5 Bug: skia:11009 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357282 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
20 lines
453 B
Plaintext
20 lines
453 B
Plaintext
bool test() {
|
|
bool a = 1 == 1 || 2 == 8;
|
|
bool b = 1 > 1 || 2 == 8;
|
|
bool c = 1 == 1 && 2 <= 8;
|
|
bool d = 1 == 2 && 2 == 8;
|
|
bool e = 1 == 1 ^^ 1 != 1;
|
|
bool f = 1 == 1 ^^ 1 == 1;
|
|
bool g = true == true;
|
|
bool h = false == true;
|
|
bool i = true == !false;
|
|
bool j = false == !false;
|
|
|
|
return a && !b && c && !d && e && !f && g && !h && i && !j;
|
|
}
|
|
|
|
half4 main() {
|
|
return test() ? half4(0,1,0,1) : half4(1,0,0,1);
|
|
}
|
|
|