From d53bbabe6119a697bcf1a2e393d1c2283560bc01 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 8 Oct 2012 09:13:46 +1000 Subject: [PATCH] nvc0: fix missing permanent bo reference on poly cache Reviewed-by: Christoph Bumiller Signed-off-by: Ben Skeggs --- src/gallium/drivers/nvc0/nvc0_context.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2