From bbc6d15b590ad72a39527f90ed13be302dd70a89 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 15 Jun 2018 12:20:54 -0700 Subject: iris: flag DIRTY_WM properly --- src/gallium/drivers/iris/iris_program_cache.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium') 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; } -- cgit v1.2.3