diff options
author | Kenneth Graunke <[email protected]> | 2018-06-15 12:20:54 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:06 -0800 |
commit | bbc6d15b590ad72a39527f90ed13be302dd70a89 (patch) | |
tree | 4775048ab26f8fc66b02d27a6eb8bead0c2709e2 /src | |
parent | 3f863cf680233d4720f9544a6673cc6dbd10f542 (diff) |
iris: flag DIRTY_WM properly
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_program_cache.c | 5 |
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; } |