summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-14 10:44:43 +1000
committerDave Airlie <airlied@redhat.com>2008-02-14 10:44:43 +1000
commiteb9da9706ee060a8e4bb5c4fa133ab06dc6b5a53 (patch)
tree3b58022e67a9de7aaf5b80a8cc763ada7618d501 /src/mesa/drivers/dri/i965/brw_wm.c
parent85063f14ea431b586d710f249563fc73481552c7 (diff)
i965: remove unused hal hooks
These don't appear to have ever been used.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
index dec91034c8..9b8c8a220e 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.c
+++ b/src/mesa/drivers/dri/i965/brw_wm.c
@@ -34,7 +34,6 @@
#include "brw_util.h"
#include "brw_wm.h"
#include "brw_state.h"
-#include "brw_hal.h"
GLuint brw_wm_nr_args( GLuint opcode )
@@ -120,20 +119,6 @@ GLuint brw_wm_is_scalar_result( GLuint opcode )
}
-static void brw_wm_pass_hal (struct brw_wm_compile *c)
-{
- static void (*hal_wm_pass) (struct brw_wm_compile *c);
- static GLboolean hal_tried;
-
- if (!hal_tried)
- {
- hal_wm_pass = brw_hal_find_symbol ("intel_hal_wm_pass");
- hal_tried = 1;
- }
- if (hal_wm_pass)
- (*hal_wm_pass) (c);
-}
-
static void do_wm_prog( struct brw_context *brw,
struct brw_fragment_program *fp,
struct brw_wm_prog_key *key)
@@ -171,10 +156,6 @@ static void do_wm_prog( struct brw_context *brw,
*/
brw_wm_pass1(c);
- /* Hal optimization
- */
- brw_wm_pass_hal (c);
-
/* Register allocation.
*/
c->grf_limit = BRW_WM_MAX_GRF/2;