iris: update bindings when changing programs

the binding table layout depends on program info.

not known to fix anything yet.
This commit is contained in:
Kenneth Graunke 2018-07-24 20:57:10 -07:00
parent b0e9c5797b
commit f0159d5ca3

View 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