From: Kenneth Graunke Date: Fri, 15 Jun 2018 19:20:54 +0000 (-0700) Subject: iris: flag DIRTY_WM properly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbc6d15b590ad72a39527f90ed13be302dd70a89;p=mesa.git iris: flag DIRTY_WM properly --- diff --git a/src/gallium/drivers/iris/iris_program_cache.c b/src/gallium/drivers/iris/iris_program_cache.c index 3a50e33fead..7a004fc855b 100644 --- a/src/gallium/drivers/iris/iris_program_cache.c +++ b/src/gallium/drivers/iris/iris_program_cache.c @@ -97,6 +97,11 @@ static uint64_t dirty_flag_for_cache(enum iris_program_cache_id cache_id) { assert(cache_id <= MESA_SHADER_STAGES); + + // XXX: ugly + if (cache_id == IRIS_CACHE_FS) + return IRIS_DIRTY_WM | IRIS_DIRTY_FS; + return IRIS_DIRTY_VS << cache_id; }