r300: fix VP source conflict resolution on 64-bit machines
authorMaciej Cencora <m.cencora@gmail.com>
Sun, 22 Nov 2009 14:08:46 +0000 (15:08 +0100)
committerMaciej Cencora <m.cencora@gmail.com>
Sun, 22 Nov 2009 14:08:46 +0000 (15:08 +0100)
commite0fda040135490fdd54e57000c7995e27dc70657
tree3a6b2456dec8196bedc9dd6b2cb1b34afebeba0c
parentdfe440c856826450195e3fc5100a3b97d7c0b173
r300: fix VP source conflict resolution on 64-bit machines

On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register).
On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
src/mesa/drivers/dri/r300/compiler/radeon_program.h