diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-07 14:49:12 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-07 14:49:14 -0700 |
commit | 8647aa1d8d8ffce7ae3b00e7e277be635124acad (patch) | |
tree | 45be8c7837147db2dab8ef80c0bfa9953aa235ed /src/mesa/drivers/x11/xm_line.c | |
parent | 2b7a4b2c0e9b18ed985b0eda34723d53bc2a305b (diff) |
tgsi: fix SSE code emit for XPD
Rearrange things so that the writes to the dest registers happen
after we've fetched/used all src registers.
The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2];
Note that the dst reg is also a src reg.
This fixes bad shading with progs/glsl/bump.c since Eric's changes to the
Mesa program optimizer in commit d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904.
The optimizer rearranges some registers so we occasionally wind up with
something like the above.
Diffstat (limited to 'src/mesa/drivers/x11/xm_line.c')
0 files changed, 0 insertions, 0 deletions