i965: Drop BRW_NEW_CONTEXT from 3DSTATE_DS/GS on Gen7-7.5.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Apr 2017 06:49:49 +0000 (23:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 29 Apr 2017 00:03:33 +0000 (17:03 -0700)
We already have BRW_NEW_BATCH, which completely covers all the cases
that BRW_NEW_CONTEXT would handle.  Drop it.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/gen7_ds_state.c
src/mesa/drivers/dri/i965/gen7_gs_state.c

index 667195d4644bfdc2b7fab50b297fc3274fa81135..74915954d017d09f138abc78d2cc992f6d1ac4d8 100644 (file)
@@ -118,7 +118,6 @@ const struct brw_tracked_state gen7_ds_state = {
       .mesa  = 0,
       .brw   = BRW_NEW_BATCH |
                BRW_NEW_BLORP |
-               BRW_NEW_CONTEXT |
                BRW_NEW_TESS_PROGRAMS |
                BRW_NEW_TES_PROG_DATA,
    },
index 63b4f8ec2b73819ca4cdad6b3eb58bf58716ba3c..dc5e006f9991ac117aeb20fae8f68684d58a810a 100644 (file)
@@ -160,7 +160,6 @@ const struct brw_tracked_state gen7_gs_state = {
       .mesa  = 0,
       .brw   = BRW_NEW_BATCH |
                BRW_NEW_BLORP |
-               BRW_NEW_CONTEXT |
                BRW_NEW_GEOMETRY_PROGRAM |
                BRW_NEW_GS_PROG_DATA,
    },