tgsi/ureg: make the dst register match the src indirection
authorZack Rusin <zackr@vmware.com>
Thu, 2 May 2013 07:47:07 +0000 (03:47 -0400)
committerZack Rusin <zackr@vmware.com>
Fri, 3 May 2013 11:07:33 +0000 (07:07 -0400)
commit8490d21cbe9cce4ceb5c1908b42672f5160fd013
treec382245b189f57b85ce491821c66946eb0900ea4
parent23025ed15dc5d99ab895f425986a66f941d7c012
tgsi/ureg: make the dst register match the src indirection

In ureg src registers could have an indirect register that was
either a temp or an addr register, while dst registers allowed
only addr. That made moving between them a little difficult so
make them behave the same way and allow temp's and addr registers
as indirect files for both (tgsi supports it, just ureg didn't).

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h