summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/Makefile.am
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-09-04 00:18:45 -0700
committerKenneth Graunke <[email protected]>2014-09-08 15:43:52 -0700
commita20cc2796f5d55e49956ac0bc5d61ca027eec7f9 (patch)
tree371a4a687eb4a6542c47ad2346f01110e69087a6 /src/mesa/drivers/dri/i965/Makefile.am
parentb9699e09bc2f4418093df00d212166c84e3cd71e (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/mesa/drivers/dri/i965/Makefile.am')
0 files changed, 0 insertions, 0 deletions