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>
116 lines
1.7 KiB
GLSL
116 lines
1.7 KiB
GLSL
|
|
vec4 main() {
|
|
bool _1_expr = sqrt(1.0) > 0.0;
|
|
int _2_ok = 0;
|
|
int _3_bad = 0;
|
|
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
{
|
|
++_2_ok;
|
|
}
|
|
if (true ^^ _1_expr) {
|
|
++_3_bad;
|
|
} else {
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
{
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
if (false == _1_expr) {
|
|
++_3_bad;
|
|
} else {
|
|
++_2_ok;
|
|
}
|
|
if (true != _1_expr) {
|
|
++_3_bad;
|
|
} else {
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
{
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr ^^ true) {
|
|
++_3_bad;
|
|
} else {
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
{
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
if (_1_expr == false) {
|
|
++_3_bad;
|
|
} else {
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr != true) {
|
|
++_3_bad;
|
|
} else {
|
|
++_2_ok;
|
|
}
|
|
if (_1_expr) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
float _4_a = sqrt(1.0);
|
|
float _5_b = sqrt(2.0);
|
|
|
|
if (_4_a == _5_b) {
|
|
++_3_bad;
|
|
} else {
|
|
++_2_ok;
|
|
}
|
|
bool(_4_a = _5_b) || true;
|
|
if (_4_a == _5_b) {
|
|
++_2_ok;
|
|
} else {
|
|
++_3_bad;
|
|
}
|
|
return _2_ok == 22 && _3_bad == 0 ? vec4(0.0, 1.0, 0.0, 1.0) : vec4(1.0, 0.0, 0.0, 1.0);
|
|
|
|
}
|