From: Kenneth Graunke Date: Mon, 22 Oct 2018 00:43:32 +0000 (-0700) Subject: iris: flag CC_VIEWPORT when changing num viewports X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5bd49a47b6b5febfa54ec03bd1fa5e140b8a6e61;p=mesa.git iris: flag CC_VIEWPORT when changing num viewports this also has a loop over num_viewports --- diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index ed72c2848e2..fc874c4c08f 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -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];