Mesa (9.0): nvc0: fix missing permanent bo reference on poly cache
Maarten Lankhorst
mlankhorst at kemper.freedesktop.org
Tue Nov 20 18:32:29 UTC 2012
Module: Mesa
Branch: 9.0
Commit: c1534a5fdf0147b59c07947935c7ca4ce35cf665
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1534a5fdf0147b59c07947935c7ca4ce35cf665
Author: Ben Skeggs <bskeggs at redhat.com>
Date: Mon Oct 8 09:13:46 2012 +1000
nvc0: fix missing permanent bo reference on poly cache
Reviewed-by: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs at redhat.com>
(cherry picked from commit d53bbabe6119a697bcf1a2e393d1c2283560bc01)
---
src/gallium/drivers/nvc0/nvc0_context.c | 1 +
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 b021f2e..9c43ae6 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.c
+++ b/src/gallium/drivers/nvc0/nvc0_context.c
@@ -183,6 +183,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;
More information about the mesa-commit
mailing list