Mesa (master): nv50: make sure to mark first scissor dirty after blit

Ilia Mirkin imirkin at kemper.freedesktop.org
Tue Jun 17 03:14:22 UTC 2014


Module: Mesa
Branch: master
Commit: af05270ccfaa15fde9845a2250922caa8902c0fe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af05270ccfaa15fde9845a2250922caa8902c0fe

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Jun 14 13:23:47 2014 -0400

nv50: make sure to mark first scissor dirty after blit

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "10.2" <mesa-stable at lists.freedesktop.org>

---

 src/gallium/drivers/nouveau/nv50/nv50_surface.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_surface.c b/src/gallium/drivers/nouveau/nv50/nv50_surface.c
index 6e68fb8..600f4f9 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_surface.c
@@ -1106,6 +1106,7 @@ nv50_blitctx_post_blit(struct nv50_blitctx *blit)
        NV50_NEW_RASTERIZER | NV50_NEW_ZSA | NV50_NEW_BLEND |
        NV50_NEW_TEXTURES | NV50_NEW_SAMPLERS |
        NV50_NEW_VERTPROG | NV50_NEW_GMTYPROG | NV50_NEW_FRAGPROG);
+   nv50->scissors_dirty |= 1;
 
    nv50->base.pipe.set_min_samples(&nv50->base.pipe, blit->saved.min_samples);
 }




More information about the mesa-commit mailing list