mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 02:08:23 +02:00
tgsi: Fix build.
This commit is contained in:
parent
972922b1bf
commit
527e76a7ec
1 changed files with 2 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue