r600g: Fix UMAD on Cayman
authorMartin Andersson <g02maran@gmail.com>
Tue, 2 Apr 2013 20:43:33 +0000 (22:43 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 9 Apr 2013 01:09:37 +0000 (03:09 +0200)
commita8246927e35a49097f70cffb7fa8dd05ec1365e1
tree050abd29a3fd9247784f194d7f908619060a639d
parentb76539aabea6a910e15d2c626901c7b208868f0c
r600g: Fix UMAD on Cayman

The multiplication part of tgsi_umad did not work on Cayman, because it did
not populate the correct vector slots.

This fixed hardlocks in the EXT_transform_feedback/order tests.

NOTE: This is a candidate for the stable branches.
(might not be easy to cherry-pick though)

Signed-off-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r600/r600_shader.c