[Mesa-dev] [PATCH] glsl: Handle constant expressions involving ir_binop_equal/nequal.

Chad Versace chad.versace at linux.intel.com
Wed Nov 9 10:08:19 PST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/09/2011 01:04 AM, Kenneth Graunke wrote:
> Constant expressions which called GLSL's equal() and notEqual()
> built-ins on bvecs would hit an assertion failure; we simply forgot to
> implement them for booleans.
> 
> NOTE: This is a candidate for stable release branches.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/glsl/ir_constant_expression.cpp |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)

Simple enough.
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

- ----
Chad Versace
chad.versace at linux.intel.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOusGSAAoJEAIvNt057x8i/mMP/A5GvTUh4sH+LJXyrAcCf38K
QHCn4B0l3aXr6dznnnsnNSRnP91/ycBm37+lrHysgwwfTTCRxgsDA5xcKRK0EBij
vBwhfWL0ListvaHWHMDB/Dfjp9R+52K9EOD9nvuSqK1+jq8M5HT61KWG6YTr/I9p
/2ejmo6ry4TQ6v9SlsfOQPJFziFCEiNNrJ7IDgjkgdlxAp8lsnLP12xznheP4rx2
8Rqa2EMHT7hTWimhZ+h1xEp8UBDPuVrr+EjQREaxEVK40bm+LScZpR8vnXs3ridW
y/Ihvoin2XkVH7a6nQrHkhGrgFE35CLZUc2AbUILpuRIDiKMdwCoPdeqsMQ1zapq
+mo848IyypNEf4VmutWe7k5Ea+FaXQAk+gQWnFdJii8Mzg7+R/DeIyePjYOr3UcM
Pvha0drrdpKOPvjj+T5xNoNjkDPDd38KAnhnsG4A9EqMgd1ozLgiLhL+CDc7eiMk
Zz35nWPKCyXqC0qY0xGZ0WnIwzyqGpbYpBLjGVznNu5UdtwxMSjCjv53yy4clJv1
BnSKAxMbgtP9B8ZkzMGYPO03ueP4ePMehah8KSxnrclY6ne6mmlZbWshsmIWhVrp
Nv78dfvs3e8HDbNT26q48KP6o+DYXbFHVWa9oH59/JinuM5QoJWUOwNa2iC+tQZs
zYZ7EBQI3v0IGRSeDj3Q
=hT88
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list