nv50: make sure to mark first scissor dirty after blit
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 14 Jun 2014 17:23:47 +0000 (13:23 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 17 Jun 2014 03:08:03 +0000 (23:08 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv50_surface.c

index 6e68fb8a18ec81b96a8ae26af49beba555aadd04..600f4f93b48546ed41067dc2cc80582f5ca4da2d 100644 (file)
@@ -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);
 }