From eb274a31bc275bae8a8d0bbac0fa6738eada66b1 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 5 Jul 2018 02:41:52 -0700 Subject: [PATCH] iris: fix clip flagging on fb changes --- src/gallium/drivers/iris/iris_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2