diff options
author | Vadim Girlin <[email protected]> | 2011-06-17 23:02:01 +0400 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-06-18 16:03:04 +1000 |
commit | 2fe39b46e73aea37152777fe11d489e0b1bc3f92 (patch) | |
tree | 4461e52100da59f6825ae2025a0e16be37f2ac5f /src/gallium/drivers/r300/r300_render.c | |
parent | 8ab1c5328b12e8b075f62599a84672024aaf2982 (diff) |
r600g: fix LIT to handle src==dst properly
Current LIT implementation uses dst components for storing temp
results, possibly overwriting still needed values (depends on the
swizzles).
This patch uses temp reg for one of such cases (found in etqw) and
fixes "LIT R.z, R.xyzz".
Tested on evergreen. Fixes some etqw-demo rendering glitches when
"Lighting" is set to "High" in the settings.
Signed-off-by: Vadim Girlin <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
0 files changed, 0 insertions, 0 deletions