iris: fix clip flagging on fb changes

This commit is contained in:
Kenneth Graunke 2018-07-05 02:41:52 -07:00
parent 0232fbc2c4
commit eb274a31bc

View file

@ -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;
}