[Mesa-dev] [PATCH 1/2] i965: Drop CACHE_NEW_VS_PROG from the gen7_sf_state atom.

Kenneth Graunke kenneth at whitecape.org
Fri Sep 26 15:13:29 PDT 2014


I believe when I wrote this code, gen6_sf_state used CACHE_NEW_VS_PROG,
which has since been replaced by BRW_NEW_VUE_MAP_GEOM_OUT.  It's not
needed here anyway - only SBE needs it.  Just a copy and paste mistake.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/gen7_sf_state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/gen7_sf_state.c b/src/mesa/drivers/dri/i965/gen7_sf_state.c
index 67e4448..150a4d3 100644
--- a/src/mesa/drivers/dri/i965/gen7_sf_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_sf_state.c
@@ -254,7 +254,7 @@ const struct brw_tracked_state gen7_sf_state = {
 		_NEW_POINT |
                 _NEW_MULTISAMPLE),
       .brw   = BRW_NEW_CONTEXT,
-      .cache = CACHE_NEW_VS_PROG
+      .cache = 0,
    },
    .emit = upload_sf_state,
 };
-- 
2.1.0



More information about the mesa-dev mailing list