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(-)

-- 
1.7.6

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to