[Mesa-dev] [PATCH 1/2] i965: Drop _NEW_TRANSFORM from 3DSTATE_DS/GS on Gen7-7.5.

Kenneth Graunke kenneth at whitecape.org
Thu Apr 27 08:06:59 UTC 2017


There's no reason for this as far as I can tell.
---
 src/mesa/drivers/dri/i965/gen7_ds_state.c | 2 +-
 src/mesa/drivers/dri/i965/gen7_gs_state.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/gen7_ds_state.c b/src/mesa/drivers/dri/i965/gen7_ds_state.c
index 04d7a868fbe..667195d4644 100644
--- a/src/mesa/drivers/dri/i965/gen7_ds_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_ds_state.c
@@ -115,7 +115,7 @@ gen7_upload_ds_state(struct brw_context *brw)
 
 const struct brw_tracked_state gen7_ds_state = {
    .dirty = {
-      .mesa  = _NEW_TRANSFORM,
+      .mesa  = 0,
       .brw   = BRW_NEW_BATCH |
                BRW_NEW_BLORP |
                BRW_NEW_CONTEXT |
diff --git a/src/mesa/drivers/dri/i965/gen7_gs_state.c b/src/mesa/drivers/dri/i965/gen7_gs_state.c
index 1b5b78290b0..63b4f8ec2b7 100644
--- a/src/mesa/drivers/dri/i965/gen7_gs_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_gs_state.c
@@ -157,7 +157,7 @@ upload_gs_state(struct brw_context *brw)
 
 const struct brw_tracked_state gen7_gs_state = {
    .dirty = {
-      .mesa  = _NEW_TRANSFORM,
+      .mesa  = 0,
       .brw   = BRW_NEW_BATCH |
                BRW_NEW_BLORP |
                BRW_NEW_CONTEXT |
-- 
2.12.2



More information about the mesa-dev mailing list