diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-09 11:56:14 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-03-09 14:42:17 -0800 |
commit | 6b194dab6b4d9f12cdd54c699b23c0d3420a49c2 (patch) | |
tree | 51a282dedc3b72794562cbd0fb5a8009adf37a41 /src/mesa/drivers/dri/r300/r300_draw.c | |
parent | 280abdacf900d591ef909cf697f0c5679389c3f6 (diff) |
i965: Unalias all GLSL source regs from the destination regs used.
We were doing it ad-hoc before, as instructions with potential
aliasing problems were identified. But thanks to swizzling basically
anything can have aliasing, so just do it generally at source reg
setup time. This is somewhat inefficient, because sometimes an
operation doesn't need unaliasing protection if the swizzling is safe,
but the unaliasing before didn't cover those cases either.
Fixes piglit glsl-fs-loop.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_draw.c')
0 files changed, 0 insertions, 0 deletions