diff options
author | Kenneth Graunke <[email protected]> | 2018-12-02 15:52:46 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | 19803d0aa71ee385f271263dfb83aeca15d7a698 (patch) | |
tree | 52ce755350abd9ad06e564edffd0b27b60459417 /src | |
parent | 480c62bc7e693bfdce5fa7bfff3f5ebd16818c98 (diff) |
iris: reemit SBE when sprite coord origin changes
fixes arb_point_sprite-checkerboard
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |