mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 04:00:10 +01:00
iris: flag DIRTY_WM properly
This commit is contained in:
parent
3f863cf680
commit
bbc6d15b59
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue