mesa/src
Kenneth Graunke a318e2f383 i965: Handle ir_binop_ubo_load in boolean expression code.
UBO loads can be boolean-valued expressions, too, so we need to handle
them in emit_bool_to_cond_code() and emit_if_gen6().

However, unlike most expressions, it doesn't make sense to evaluate
their operands, then do something with the results.  We just want to
evaluate the UBO load as a whole---which performs the read from
memory---then load the boolean result into the flag register.

Instead of adding code to handle it, we can simply bypass the
ir_expression handling, and fall through to the default code, which will
do exactly that.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83468
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit a20cc2796f)
2014-09-09 21:38:33 +01:00
..
egl egl: don't exit process on initialization failure 2014-08-16 17:52:54 -04:00
gallium gallivm: Fix Altivec pack intrinsics for little-endian 2014-09-08 17:14:44 +01:00
gbm gbm: Log at least one dlerror() when we fail to open any drivers. 2014-07-30 22:31:30 -07:00
getopt
glsl glsl: fix assertion which fails for unsigned array indices. 2014-09-05 14:44:22 +01:00
glx glx/drisw: add support for DRI2rendererQueryExtension 2014-08-15 17:35:37 +01:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader android: loader: prefix static libraries with libmesa_* 2014-08-13 00:46:57 +01:00
mapi glapi: add GL_ARB_conditional_render_inverted 2014-08-19 08:54:35 -04:00
mesa i965: Handle ir_binop_ubo_load in boolean expression code. 2014-09-09 21:38:33 +01:00
util util: remove ralloc_test 2014-08-08 19:23:25 +01:00
Makefile.am automake: handle gallium SUBDIRs in gallium/Makefile 2014-08-13 00:46:54 +01:00
SConscript util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00