diff options
author | Keith Whitwell <[email protected]> | 2007-09-26 12:46:45 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-09-27 07:56:23 +0100 |
commit | 65e3af51efc9d688ef8face0a44429a90c5dd4c9 (patch) | |
tree | 1da21d6a80d339f6bc0545d14b56dc591065a748 /src/mesa/state_tracker/st_program.c | |
parent | 035a824730ae3804b2bfaadec94015aac5c6ebcc (diff) |
Enable codegen based whenever __i386__ is defined.
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 9f363adc5c7..44cc33b09fb 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -253,7 +253,7 @@ st_translate_vertex_program(struct st_context *st, if (TGSI_DEBUG) tgsi_dump( tokensOut, 0 ); -#if defined(USE_X86_ASM) || defined(SLANG_X86) +#if defined(__i386__) || defined(__386__) if (stvp->sse2_program.csr == stvp->sse2_program.store) tgsi_emit_sse2( tokensOut, &stvp->sse2_program ); @@ -398,7 +398,7 @@ st_translate_fragment_program(struct st_context *st, if (TGSI_DEBUG) tgsi_dump( tokensOut, 0/*TGSI_DUMP_VERBOSE*/ ); -#if defined(USE_X86_ASM) || defined(SLANG_X86) +#if defined(__i386__) || defined(__386__) if (stfp->sse2_program.csr == stfp->sse2_program.store) tgsi_emit_sse2_fs( tokensOut, &stfp->sse2_program ); |