From: Kenneth Graunke Date: Wed, 25 Jul 2018 03:57:10 +0000 (-0700) Subject: iris: update bindings when changing programs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0159d5ca3d65b8e1629c84d0e11f552ebaf7761;p=mesa.git iris: update bindings when changing programs the binding table layout depends on program info. not known to fix anything yet. --- diff --git a/src/gallium/drivers/iris/iris_program_cache.c b/src/gallium/drivers/iris/iris_program_cache.c index 0b8286ecb3d..7fe4464862f 100644 --- a/src/gallium/drivers/iris/iris_program_cache.c +++ b/src/gallium/drivers/iris/iris_program_cache.c @@ -107,7 +107,7 @@ dirty_flag_for_cache(enum iris_program_cache_id cache_id) if (cache_id == IRIS_CACHE_VS) return IRIS_DIRTY_VS | IRIS_DIRTY_VF_SGVS; - return IRIS_DIRTY_VS << cache_id; + return IRIS_DIRTY_VS << cache_id | IRIS_DIRTY_BINDINGS_VS << cache_id; } static unsigned