radeon/llvm: Force VTX_READ instructions to use same reg for src and dst
authorTom Stellard <thomas.stellard@amd.com>
Wed, 15 Aug 2012 18:19:27 +0000 (18:19 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 15 Aug 2012 18:35:25 +0000 (18:35 +0000)
commita76a0f74225802f4d3f11028ab54afe98b26302b
tree79a16bb4f7ac53de6bc6f092fc56cd6c914ec544
parent97b4b97b2f9b0e4532c8ba9cedfff9f013a76fc2
radeon/llvm: Force VTX_READ instructions to use same reg for src and dst

I was seeing some GPU hangs that seemed to be cause by ALU instructions
writing to the same register used as the source for VTX_READ.  Adding
this constraint to the VTX_READ instructions avoids this situation.
src/gallium/drivers/radeon/R600Instructions.td