[Mesa-dev] [PATCH 05/11] i965: Stop flagging _NEW_POLYGON on drawbuffers change.

Eric Anholt eric at anholt.net
Thu Jun 20 23:07:58 PDT 2013


Things like brw_sf.c that need to know about orientation are already
recomputing on _NEW_BUFFERS.
---
 src/mesa/drivers/dri/i965/brw_vtbl.c | 5 -----
 1 file changed, 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;
 }
 
 /**
-- 
1.8.3.rc0



More information about the mesa-dev mailing list