iris: flag CC_VIEWPORT when changing num viewports

this also has a loop over num_viewports
This commit is contained in:
Kenneth Graunke 2018-10-21 17:43:32 -07:00
parent d98967d936
commit 5bd49a47b6
1 changed files with 1 additions and 0 deletions

View File

@ -921,6 +921,7 @@ update_last_vue_map(struct iris_context *ice,
(vue_map->slots_valid & VARYING_BIT_VIEWPORT) ? IRIS_MAX_VIEWPORTS : 1;
ice->state.dirty |= IRIS_DIRTY_CLIP |
IRIS_DIRTY_SF_CL_VIEWPORT |
IRIS_DIRTY_CC_VIEWPORT |
IRIS_DIRTY_SCISSOR_RECT |
IRIS_DIRTY_UNCOMPILED_FS |
ice->state.dirty_for_nos[IRIS_NOS_LAST_VUE_MAP];