r500: make tri-param work
authorDave Airlie <airlied@redhat.com>
Mon, 5 May 2008 08:05:59 +0000 (18:05 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 May 2008 08:05:59 +0000 (18:05 +1000)
commit3816ae9ce835691e690d68f37ff6b01207068870
tree7dd831cafbd4b2dce47b93c602971e09539bf84c
parent1f420b008bd4bc7b5fe7809e7f7506ef5dcb7209
r500: make tri-param work

This makes constant work which are 32-bit on r500 unlike r300.

Switch MOV to using MAD no idea if we might have negative things MAX 0,-5 is
likely to do the wrong thing..
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r500_fragprog.c