zink: fix stale point sprite mode state

Fixes: cf8ca77be1 ("zink: handle point sprite")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21840>
This commit is contained in:
SoroushIMG
2023-03-10 16:24:46 +00:00
committed by Marge Bot
parent 4b4306fe10
commit 5903868f99
+2 -1
View File
@@ -696,7 +696,8 @@ zink_bind_rasterizer_state(struct pipe_context *pctx, void *cso)
else if (rasterizer_discard != ctx->rast_state->base.rasterizer_discard)
zink_set_color_write_enables(ctx);
if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization)
if (ctx->rast_state->base.point_quad_rasterization ||
ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization)
zink_set_fs_point_coord_key(ctx);
if (ctx->rast_state->base.scissor != scissor)
ctx->scissor_changed = true;