From: Eric Anholt Date: Thu, 20 Jun 2013 15:41:19 +0000 (-0700) Subject: i965: Stop flagging viewport/scissor change on drawbuffers change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3faccc42adddf1312461ee74385c645aeb4ddb9a;p=mesa.git i965: Stop flagging viewport/scissor change on drawbuffers change. The viewport (ctx->Viewport._WindowMap) doesn't change with drawable size changes, and we update scissor (ctx->DrawBuffer->_Xmin and friends) on _NEW_BUFFERS in things like brw_sf_state.c. Reviewed-by: Anuj Phogat Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index ba5fadf4f46..a47b7a33965 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -141,9 +141,6 @@ brw_update_draw_buffer(struct intel_context *intel) * renderbuffers' buffer objects. */ intel->NewGLState |= _NEW_BUFFERS; - - /* update viewport/scissor since it depends on window size */ - intel->NewGLState |= _NEW_VIEWPORT | _NEW_SCISSOR; } /**