aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-11-26 17:20:07 +0100
committerMichal Krol <[email protected]>2008-11-26 17:20:07 +0100
commit527e76a7ec7f330bd321fe9632a0fadedbab1d41 (patch)
treed812346c948ac576acfe8d779d35c57b06bf7371 /src
parent972922b1bf28346568bedfadc2198ed93230f5d7 (diff)
tgsi: Fix build.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_sse2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index 31480c40da0..68f5510351f 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
@@ -855,12 +855,10 @@ rnd4f(
static void
emit_rnd(
struct x86_function *func,
- unsigned xmm_save,
unsigned xmm_dst )
{
emit_func_call_dst(
func,
- xmm_save,
xmm_dst,
rnd4f );
}
@@ -937,12 +935,10 @@ sgn4f(
static void
emit_sgn(
struct x86_function *func,
- unsigned xmm_save,
unsigned xmm_dst )
{
emit_func_call_dst(
func,
- xmm_save,
xmm_dst,
sgn4f );
}
@@ -1687,7 +1683,7 @@ emit_instruction(
case TGSI_OPCODE_ROUND:
FOR_EACH_DST0_ENABLED_CHANNEL( *inst, chan_index ) {
FETCH( func, *inst, 0, 0, chan_index );
- emit_rnd( func, 0, 0 );
+ emit_rnd( func, 0 );
STORE( func, *inst, 0, 0, chan_index );
}
break;
@@ -1957,7 +1953,7 @@ emit_instruction(
/* TGSI_OPCODE_SGN */
FOR_EACH_DST0_ENABLED_CHANNEL( *inst, chan_index ) {
FETCH( func, *inst, 0, 0, chan_index );
- emit_sgn( func, 0, 0 );
+ emit_sgn( func, 0 );
STORE( func, *inst, 0, 0, chan_index );
}
break;