mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-28 03:28:10 +02:00
v2: fix 025 test. Add three more tests (Ian Romanick) Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
17 lines
194 B
GLSL
17 lines
194 B
GLSL
#version 130
|
|
|
|
void main()
|
|
{
|
|
int undefined;
|
|
int defined = 2;
|
|
float fooFloat;
|
|
|
|
if (undefined <= 0) {
|
|
fooFloat = 10.0;
|
|
}
|
|
|
|
if (defined <= 0) {
|
|
fooFloat = 10.0;
|
|
}
|
|
}
|
|
|