aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2012-10-08 09:13:46 +1000
committerBen Skeggs <[email protected]>2012-10-09 09:56:12 +1000
commitd53bbabe6119a697bcf1a2e393d1c2283560bc01 (patch)
tree547cd66e7919d46704abd17cf80c1819f297ce04
parent1aa8ad8b50f6bb8e7ec4911eef2518dc485b9285 (diff)
nvc0: fix missing permanent bo reference on poly cache
Reviewed-by: Christoph Bumiller <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.c b/src/gallium/drivers/nvc0/nvc0_context.c
index 2c032ab7420..e235fe1d4ca 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.c
+++ b/src/gallium/drivers/nvc0/nvc0_context.c
@@ -186,6 +186,7 @@ nvc0_create(struct pipe_screen *pscreen, void *priv)
BCTX_REFN_bo(nvc0->bufctx_3d, SCREEN, flags, screen->text);
BCTX_REFN_bo(nvc0->bufctx_3d, SCREEN, flags, screen->uniform_bo);
BCTX_REFN_bo(nvc0->bufctx_3d, SCREEN, flags, screen->txc);
+ BCTX_REFN_bo(nvc0->bufctx_3d, SCREEN, flags, screen->poly_cache);
flags = NOUVEAU_BO_GART | NOUVEAU_BO_WR;