Mesa (master): i965: Stop flagging _NEW_POLYGON on drawbuffers change.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Jun 26 02:21:07 UTC 2013
Module: Mesa
Branch: master
Commit: 438f85717d28f0cc10d3494c2d2d178295f96971
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=438f85717d28f0cc10d3494c2d2d178295f96971
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jun 20 08:39:56 2013 -0700
i965: Stop flagging _NEW_POLYGON on drawbuffers change.
Things like brw_sf.c that need to know about orientation are already
recomputing on _NEW_BUFFERS.
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_vtbl.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c
index 96a6cd5..ba5fadf 100644
--- a/src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/src/mesa/drivers/dri/i965/brw_vtbl.c
@@ -144,11 +144,6 @@ brw_update_draw_buffer(struct intel_context *intel)
/* update viewport/scissor since it depends on window size */
intel->NewGLState |= _NEW_VIEWPORT | _NEW_SCISSOR;
-
- /* Update culling direction which changes depending on the
- * orientation of the buffer:
- */
- intel->NewGLState |= _NEW_POLYGON;
}
/**
More information about the mesa-commit
mailing list