[Mesa-dev] [PATCH 0/2] [RESEND] r600g: cleanup ABS/NEG bits modification and fix LOG, SUB, LRP

Vadim Girlin vadimgirlin at gmail.com
Wed Jul 6 21:20:06 PDT 2011

These patches introduce inline helpers to cleanup ABS/NEG modification.

#1 fixes LOG implementation, which should use ABS bit for operand too.
#2 fixes SUB and LRP, which should toggle NEG bit instead of setting it. 

  r600g: introduce r600_bc_src_set_abs helper and fix LOG
  r600g: introduce r600_bc_src_toggle_neg helper and fix SUB & LRP

 src/gallium/drivers/r600/r600_shader.c |   37 ++++++++++++++++++++++---------
 1 files changed, 26 insertions(+), 11 deletions(-)


More information about the mesa-dev mailing list