r600g: fix udiv/idiv/umod/imod on cayman
authorDave Airlie <airlied@redhat.com>
Mon, 23 Jan 2012 13:38:24 +0000 (13:38 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Jan 2012 13:53:15 +0000 (13:53 +0000)
commit29cf90b4148ca8b625215644ef8d65a83815db11
treeb2e514710411d33d06f511d480a1cb19e00db11c
parenta33937d043f9c1795d2be635117a7cc9646ff0ce
r600g: fix udiv/idiv/umod/imod on cayman

Cayman needs some of the MUL instructions spread across a full slot
of vectors.

It also no longer has RECIP_UINT, the recommendation is to replace it
with a U2F + RECIP_IEEE + MUL + F2U.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c