From 0a1730200e91b6ad62cdf04bb1ec02cb1e96056a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 26 Sep 2014 15:13:29 -0700 Subject: [PATCH] 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 --- 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 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, }; -- 2.30.2