aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_gen_mipmap.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2008-04-21 17:51:39 +0100
committerMichel Dänzer <[email protected]>2008-04-21 17:51:39 +0100
commit65efe807b9067aa07b382e3c4d9cea6222c5fc6b (patch)
tree637ef0a2f4768167766c1c1ad7b5f818d2b58665 /src/mesa/state_tracker/st_gen_mipmap.c
parent0824fb1d6afc651c0ab814e96f08326c706de216 (diff)
gallium: Use CSO cache for shaders.
Diffstat (limited to 'src/mesa/state_tracker/st_gen_mipmap.c')
-rw-r--r--src/mesa/state_tracker/st_gen_mipmap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c
index a9319112276..da9ec12a4d2 100644
--- a/src/mesa/state_tracker/st_gen_mipmap.c
+++ b/src/mesa/state_tracker/st_gen_mipmap.c
@@ -95,12 +95,6 @@ st_render_mipmap(struct st_context *st,
util_gen_mipmap(st->gen_mipmap, pt, face, baseLevel, lastLevel,
PIPE_TEX_FILTER_LINEAR);
- /* shaders don't go through CSO yet */
- if (st->fp)
- pipe->bind_fs_state(pipe, st->fp->driver_shader);
- if (st->vp)
- pipe->bind_vs_state(pipe, st->vp->driver_shader);
-
return TRUE;
}