[Mesa-dev] [PATCH 2/2] gallium/translate: require SSE2

Marek Olšák maraeo at gmail.com
Fri Feb 24 10:35:50 PST 2012


---
 src/gallium/auxiliary/translate/translate_sse.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c
index 54414ef..ed16058 100644
--- a/src/gallium/auxiliary/translate/translate_sse.c
+++ b/src/gallium/auxiliary/translate/translate_sse.c
@@ -1454,8 +1454,7 @@ struct translate *translate_sse2_create( const struct translate_key *key )
    struct translate_sse *p = NULL;
    unsigned i;
 
-   /* this is misnamed, it actually refers to whether rtasm is enabled or not */
-   if (!rtasm_cpu_has_sse())
+   if (!rtasm_cpu_has_sse2())
       goto fail;
 
    p = os_malloc_aligned(sizeof(struct translate_sse), 16);
-- 
1.7.5.4



More information about the mesa-dev mailing list