mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
zink: drop mode_changed check from linewidth/depthbias draw updates
this doesn't need to be updated on primtype change since it's always set cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
This commit is contained in:
parent
8f7b892957
commit
a912952c3e
1 changed files with 1 additions and 1 deletions
|
|
@ -672,7 +672,7 @@ zink_draw(struct pipe_context *pctx,
|
|||
screen->info.have_EXT_line_rasterization && rast_state->base.line_stipple_enable)
|
||||
VKCTX(CmdSetLineStippleEXT)(batch->state->cmdbuf, rast_state->base.line_stipple_factor, rast_state->base.line_stipple_pattern);
|
||||
|
||||
if (BATCH_CHANGED || ctx->rast_state_changed || mode_changed) {
|
||||
if (BATCH_CHANGED || ctx->rast_state_changed) {
|
||||
enum pipe_prim_type reduced_prim = ctx->last_vertex_stage->reduced_prim;
|
||||
if (reduced_prim == PIPE_PRIM_MAX)
|
||||
reduced_prim = u_reduced_prim(mode);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue