summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-07-15 23:13:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-07-15 23:13:46 +0000
commit8d3aca655e0e7a7718c6f3a8cdbcbd0787cb85e3 (patch)
treefaa6055a53b0891eb2ac0677c7f9833683055989
parent1f88391747ef11efd54d42770d99b3c3a0cca8a8 (diff)
disable call to via_sse_memcpy() until it's fixedmesa_20050715
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tex.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c
index f628e089d3..fb048c05f8 100644
--- a/src/mesa/drivers/dri/unichrome/via_tex.c
+++ b/src/mesa/drivers/dri/unichrome/via_tex.c
@@ -948,7 +948,13 @@ void viaInitTextureFuncs(struct dd_function_table * functions)
functions->DeleteTexture = _mesa_delete_texture_object;
functions->FreeTexImageData = viaFreeTextureImageData;
-#if defined( USE_SSE_ASM )
+#if 0 && defined( USE_SSE_ASM )
+ /*
+ * XXX this code is disabled for now because the via_sse_memcpy()
+ * routine causes segfaults with flightgear.
+ * See Mesa3d-dev mail list messages from 7/15/2005 for details.
+ * Note that this function is currently disabled in via_tris.c too.
+ */
if (getenv("VIA_NO_SSE"))
functions->TextureMemCpy = _mesa_memcpy;
else