r600g: optimise op2 and swapped op2 emission.
authorDave Airlie <airlied@redhat.com>
Wed, 25 Aug 2010 06:02:38 +0000 (16:02 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Aug 2010 05:29:04 +0000 (15:29 +1000)
commitd8fb13bae30b6ff214c5d5158b9bcaf430f56b43
treeb70c22de18d2c9b0f51713b1e0bd63351d358fea
parent36d91be75ea9b79878fdf4b789ea022d781e87f4
r600g: optimise op2 and swapped op2 emission.

this makes op2 emission smaller, since it skips instructions
that don't write to the dst. not sure if this could have unwanted
side effects but try it and see.
src/gallium/drivers/r600/r600_shader.c