Mesa (master): nvc0: fix missing permanent bo reference on poly cache
Ben Skeggs
darktama at kemper.freedesktop.org
Tue Oct 9 00:01:23 UTC 2012
Module: Mesa
Branch: master
Commit: d53bbabe6119a697bcf1a2e393d1c2283560bc01
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d53bbabe6119a697bcf1a2e393d1c2283560bc01
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>
---
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 2c032ab..e235fe1 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;
More information about the mesa-commit
mailing list