nvc0: prevent overlap between load address and destination regs
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 13 May 2011 16:43:06 +0000 (18:43 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 13 May 2011 16:47:54 +0000 (18:47 +0200)
commit5f5d48671741ebadfcb91a58a1fc13816e19b886
treec9e53c608e3e089c7fa8d4ffe5e3bd30f1970a52
parentdd445ae12066cc03f1bc717f0ad711b62637d429
nvc0: prevent overlap between load address and destination regs

For example, an indirect load like "ld b128 $r0q c0[$r0]" seems to
overwrite the address register before finishing the load, but only
if there are a lot of threads running.

Visible as displaced geoemtry in Unigine Heaven.
src/gallium/drivers/nvc0/nvc0_pc_optimize.c