From: Ben Skeggs Date: Sun, 7 Oct 2012 23:13:46 +0000 (+1000) Subject: nvc0: fix missing permanent bo reference on poly cache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d53bbabe6119a697bcf1a2e393d1c2283560bc01;p=mesa.git nvc0: fix missing permanent bo reference on poly cache Reviewed-by: Christoph Bumiller Signed-off-by: Ben Skeggs --- 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;