zink: stop sanitizing primitive_restart flag in draw info
this is a 1bit struct member, sanitizing is pointless Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11408>
This commit is contained in:
parent
38119e4e7d
commit
b14b1bef5d
|
@ -445,9 +445,9 @@ zink_draw_vbo(struct pipe_context *pctx,
|
|||
ctx->gfx_prim_mode = dinfo->mode;
|
||||
update_gfx_program(ctx);
|
||||
|
||||
if (ctx->gfx_pipeline_state.primitive_restart != !!dinfo->primitive_restart)
|
||||
if (ctx->gfx_pipeline_state.primitive_restart != dinfo->primitive_restart)
|
||||
ctx->gfx_pipeline_state.dirty = true;
|
||||
ctx->gfx_pipeline_state.primitive_restart = !!dinfo->primitive_restart;
|
||||
ctx->gfx_pipeline_state.primitive_restart = dinfo->primitive_restart;
|
||||
|
||||
enum pipe_prim_type reduced_prim = u_reduced_prim(dinfo->mode);
|
||||
|
||||
|
|
Loading…
Reference in New Issue