iris: update bindings when changing programs
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Jul 2018 03:57:10 +0000 (20:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +0000 (10:26 -0800)
the binding table layout depends on program info.

not known to fix anything yet.

src/gallium/drivers/iris/iris_program_cache.c

index 0b8286ecb3da0005a99530eb6898eefd1b6f5eea..7fe4464862fcac4790d90d265ec6d8a5a1d0b99f 100644 (file)
@@ -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