OSDN Git Service

r600: double multiply can handle only one multiply at a time
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 19 Jan 2017 13:38:54 +0000 (14:38 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 Jan 2017 02:11:28 +0000 (02:11 +0000)
commit41b93b1fe047ebdaae7cc4d644633412cee81c35
treee18861238a740ef3ac89c268eb826df535fcadc7
parent8857256214a34cabcf2444b3839b1a928242faa5
r600: double multiply can handle only one multiply at a time

It seems clear that trying to multiply two pairs of doubles would result
in the temporary register getting overwritten by the second pair. So
make the code more explicit.

Tested-by: Glenn Kennard <glenn.kennard@gmail.com>
Tested-by: James Harvey <lothmordor@gmail.com>
Cc: 17.0 <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 76b02d2fe1df5351f67f53d07b37952043f0a84c)
src/gallium/drivers/r600/r600_shader.c