From: Kenneth Graunke Date: Fri, 26 Sep 2014 22:13:29 +0000 (-0700) Subject: i965: Drop CACHE_NEW_VS_PROG from the gen7_sf_state atom. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a1730200e91b6ad62cdf04bb1ec02cb1e96056a;p=mesa.git i965: Drop CACHE_NEW_VS_PROG from the gen7_sf_state atom. 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 Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/gen7_sf_state.c b/src/mesa/drivers/dri/i965/gen7_sf_state.c index 67e4448ffcb..150a4d38162 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, };