mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
tgsi: Disable SSE2 code generation.
It's broken now that tgsi_exec_machine::Inputs/Ouputs are pointers. Temporary if anybody still cares about tgsi_sse2.c. Permanent otherwise.
This commit is contained in:
parent
c8e904e159
commit
6838c9ce74
1 changed files with 20 additions and 3 deletions
|
|
@ -28,7 +28,9 @@
|
|||
|
||||
#include "pipe/p_config.h"
|
||||
|
||||
#if defined(PIPE_ARCH_X86)
|
||||
#include "tgsi/tgsi_sse2.h"
|
||||
|
||||
#if defined(PIPE_ARCH_X86) && 0 /* See FIXME notes below */
|
||||
|
||||
#include "util/u_debug.h"
|
||||
#include "pipe/p_shader_tokens.h"
|
||||
|
|
@ -42,7 +44,6 @@
|
|||
#include "tgsi/tgsi_util.h"
|
||||
#include "tgsi/tgsi_dump.h"
|
||||
#include "tgsi/tgsi_exec.h"
|
||||
#include "tgsi/tgsi_sse2.h"
|
||||
|
||||
#include "rtasm/rtasm_x86sse.h"
|
||||
|
||||
|
|
@ -118,6 +119,7 @@ get_machine_base( void )
|
|||
static struct x86_reg
|
||||
get_input_base( void )
|
||||
{
|
||||
/* FIXME: tgsi_exec_machine::Inputs is a pointer now! */
|
||||
return x86_make_disp(
|
||||
get_machine_base(),
|
||||
Offset(struct tgsi_exec_machine, Inputs) );
|
||||
|
|
@ -126,6 +128,7 @@ get_input_base( void )
|
|||
static struct x86_reg
|
||||
get_output_base( void )
|
||||
{
|
||||
/* FIXME: tgsi_exec_machine::Ouputs is a pointer now! */
|
||||
return x86_make_disp(
|
||||
get_machine_base(),
|
||||
Offset(struct tgsi_exec_machine, Outputs) );
|
||||
|
|
@ -2760,6 +2763,7 @@ static void aos_to_soa( struct x86_function *func,
|
|||
|
||||
x86_mov( func, aos_input, x86_fn_arg( func, arg_aos ) );
|
||||
x86_mov( func, soa_input, x86_fn_arg( func, arg_machine ) );
|
||||
/* FIXME: tgsi_exec_machine::Inputs is a pointer now! */
|
||||
x86_lea( func, soa_input,
|
||||
x86_make_disp( soa_input,
|
||||
Offset(struct tgsi_exec_machine, Inputs) ) );
|
||||
|
|
@ -2828,6 +2832,7 @@ static void soa_to_aos( struct x86_function *func,
|
|||
|
||||
x86_mov( func, aos_output, x86_fn_arg( func, arg_aos ) );
|
||||
x86_mov( func, soa_output, x86_fn_arg( func, arg_machine ) );
|
||||
/* FIXME: tgsi_exec_machine::Ouputs is a pointer now! */
|
||||
x86_lea( func, soa_output,
|
||||
x86_make_disp( soa_output,
|
||||
Offset(struct tgsi_exec_machine, Outputs) ) );
|
||||
|
|
@ -3082,4 +3087,16 @@ tgsi_emit_sse2(
|
|||
return ok;
|
||||
}
|
||||
|
||||
#endif /* PIPE_ARCH_X86 */
|
||||
#else /* !PIPE_ARCH_X86 */
|
||||
|
||||
unsigned
|
||||
tgsi_emit_sse2(
|
||||
const struct tgsi_token *tokens,
|
||||
struct x86_function *func,
|
||||
float (*immediates)[4],
|
||||
boolean do_swizzles )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* !PIPE_ARCH_X86 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue