From: Kenneth Graunke Date: Thu, 5 Jul 2018 09:41:52 +0000 (-0700) Subject: iris: fix clip flagging on fb changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb274a31bc275bae8a8d0bbac0fa6738eada66b1;p=mesa.git iris: fix clip flagging on fb changes --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index fa80c5d4db9..df724cedcee 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1321,7 +1321,7 @@ iris_set_framebuffer_state(struct pipe_context *ctx, ice->state.dirty |= IRIS_DIRTY_BLEND_STATE; } - if ((cso->layers == 0) == (state->layers == 0)) { + if ((cso->layers == 0) != (state->layers == 0)) { ice->state.dirty |= IRIS_DIRTY_CLIP; }