summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vtbl.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-08-22 00:26:09 -0700
committerEric Anholt <eric@anholt.net>2010-08-22 00:52:18 -0700
commit556f19415a5210aacd52d652b8aae6e58c44e4ed (patch)
tree8bdd0f0bf98f06147a3634cea06795bdf2172b50 /src/mesa/drivers/dri/i965/brw_vtbl.c
parent527a9a4de218cae89d7faf92788f88ce1f9387b6 (diff)
downloadexternal_mesa3d-556f19415a5210aacd52d652b8aae6e58c44e4ed.zip
external_mesa3d-556f19415a5210aacd52d652b8aae6e58c44e4ed.tar.gz
external_mesa3d-556f19415a5210aacd52d652b8aae6e58c44e4ed.tar.bz2
i965: Fix up WM push constant setup on gen6.
Fixes glsl-algebraic-add-add-1.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vtbl.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vtbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c
index 14227a5..8f1601d 100644
--- a/src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/src/mesa/drivers/dri/i965/brw_vtbl.c
@@ -101,6 +101,7 @@ static void brw_destroy_context( struct intel_context *intel )
dri_bo_release(&brw->wm.prog_bo);
dri_bo_release(&brw->wm.state_bo);
dri_bo_release(&brw->wm.const_bo);
+ dri_bo_release(&brw->wm.push_const_bo);
dri_bo_release(&brw->cc.prog_bo);
dri_bo_release(&brw->cc.state_bo);
dri_bo_release(&brw->cc.vp_bo);