From 19803d0aa71ee385f271263dfb83aeca15d7a698 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 2 Dec 2018 15:52:46 -0800 Subject: [PATCH] iris: reemit SBE when sprite coord origin changes fixes arb_point_sprite-checkerboard --- src/gallium/drivers/iris/iris_state.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index f41bf1430c7..389f4b6f4d0 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1222,7 +1222,9 @@ iris_bind_rasterizer_state(struct pipe_context *ctx, void *state) cso_changed(clip_halfz)) ice->state.dirty |= IRIS_DIRTY_CC_VIEWPORT; - if (cso_changed(sprite_coord_enable) || cso_changed(light_twoside)) + if (cso_changed(sprite_coord_enable) || + cso_changed(sprite_coord_mode) || + cso_changed(light_twoside)) ice->state.dirty |= IRIS_DIRTY_SBE; } -- 2.30.2