iris: flag CC_VIEWPORT when changing num viewports
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 22 Oct 2018 00:43:32 +0000 (17:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
this also has a loop over num_viewports

src/gallium/drivers/iris/iris_program.c

index ed72c2848e2911219595df640d4b5b2ebc52cce2..fc874c4c08f10a00f44a29b4d9a125de0b52a828 100644 (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];