diff options
author | Brian Paul <[email protected]> | 2008-04-11 13:21:39 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-11 14:19:31 -0600 |
commit | 9e8a85ef670dfb7d356d6066bad4710683a07fd9 (patch) | |
tree | 4a69712a82e65795c221b5d0e246ebdf3ca9bacc | |
parent | 16900515214912557dfd35e3b333e0e312b8bc61 (diff) |
gallium: fix SCS codegen (sin scalar src comes from X, not Y)
-rwxr-xr-x | src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c index 4e80597b3f3..35c63fecccb 100755 --- a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c +++ b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c @@ -2020,7 +2020,7 @@ emit_instruction( STORE( func, *inst, 0, 0, CHAN_X ); } IF_IS_DST0_CHANNEL_ENABLED( *inst, CHAN_Y ) { - FETCH( func, *inst, 0, 0, CHAN_Y ); + FETCH( func, *inst, 0, 0, CHAN_X ); emit_sin( func, 0 ); STORE( func, *inst, 0, 0, CHAN_Y ); } |