aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_program_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/iris/iris_program_cache.c')
-rw-r--r--src/gallium/drivers/iris/iris_program_cache.c5
1 files changed, 5 insertions, 0 deletions
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;
}