summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vf.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-02-19 12:52:28 +0900
committerJosé Fonseca <[email protected]>2008-02-19 14:01:49 +0900
commitf430d95a36d55141cd9ef911aab70364ce4a4108 (patch)
tree80c56c724d92fe7f472d4c29e6f64a25fd873eca /src/gallium/auxiliary/draw/draw_vf.c
parent17158c2f00f5bee29ec8239367fd5498f22e4a91 (diff)
Use gallium's rtasm module.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vf.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vf.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vf.c b/src/gallium/auxiliary/draw/draw_vf.c
index dc3a5ecd219..901ff20a7e7 100644
--- a/src/gallium/auxiliary/draw/draw_vf.c
+++ b/src/gallium/auxiliary/draw/draw_vf.c
@@ -30,6 +30,7 @@
#include "pipe/p_compiler.h"
#include "pipe/p_util.h"
+#include "rtasm/rtasm_execmem.h"
#include "draw_vf.h"
@@ -37,11 +38,6 @@
#define DRAW_VF_DBG 0
-/* TODO: remove this */
-extern void
-_mesa_exec_free( void *addr );
-
-
static boolean match_fastpath( struct draw_vertex_fetch *vf,
const struct draw_vf_fastpath *fp)
{
@@ -414,12 +410,12 @@ void draw_vf_destroy( struct draw_vertex_fetch *vf )
FREE(fp->attr);
/* KW: At the moment, fp->func is constrained to be allocated by
- * _mesa_exec_alloc(), as the hardwired fastpaths in
+ * rtasm_exec_alloc(), as the hardwired fastpaths in
* t_vertex_generic.c are handled specially. It would be nice
* to unify them, but this probably won't change until this
* module gets another overhaul.
*/
- //_mesa_exec_free((void *) fp->func);
+ //rtasm_exec_free((void *) fp->func);
FREE(fp);
}