Mesa (instanced-arrays): translate: Fix a call to indexed SSE run.

Michał Król michal at kemper.freedesktop.org
Wed Dec 30 07:30:11 PST 2009


Module: Mesa
Branch: instanced-arrays
Commit: 76e53923ba79124c6df55bddd7e9a11a7e9104d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e53923ba79124c6df55bddd7e9a11a7e9104d4

Author: Michal Krol <michal at vmware.com>
Date:   Wed Dec 30 16:28:01 2009 +0100

translate: Fix a call to indexed SSE run.

---

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

diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c
index ddfa4c6..ffc5fe9 100644
--- a/src/gallium/auxiliary/translate/translate_sse.c
+++ b/src/gallium/auxiliary/translate/translate_sse.c
@@ -55,6 +55,7 @@ typedef void (PIPE_CDECL *run_func)( struct translate *translate,
 typedef void (PIPE_CDECL *run_elts_func)( struct translate *translate,
                                           const unsigned *elts,
                                           unsigned count,
+                                          unsigned instance_id,
                                           void *output_buffer );
 
 struct translate_buffer {
@@ -693,6 +694,7 @@ static void PIPE_CDECL translate_sse_run_elts( struct translate *translate,
    p->gen_run_elts( translate,
 		    elts,
 		    count,
+                    0,
 		    output_buffer );
 }
 



More information about the mesa-commit mailing list