Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
mesa3d
/
29285882676388aacff123e8bdf025904abf8ea9
/
.
/
src
/
glsl
/
tests
/
condition-02.glsl
blob: cbd0e18d9a83e6f76c3db3cf824b850e843385ee [
file
] [
log
] [
blame
]
/* FAIL - :? condition is not bool scalar */
uniform
float
a
;
void
main
()
{
gl_Position
=
(
a
)
?
vec4
(
1.0
,
0.0
,
0.0
,
1.0
)
:
vec4
(
0.0
,
1.0
,
0.0
,
1.0
);
}