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

Vadim Girlin vadimgirlin at gmail.com
Wed Jul 6 20:45:31 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 |   38 ++++++++++++++++++++++---------
 1 files changed, 27 insertions(+), 11 deletions(-)

-- 
1.7.6



More information about the mesa-dev mailing list