diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 37ccf447ed6..99a5c3bf7a3 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -5138,6 +5138,8 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) ctx->fb_changed = ctx->rp_changed = true; ctx->sample_mask_changed = true; ctx->gfx_pipeline_state.gfx_prim_mode = MESA_PRIM_COUNT; + ctx->gfx_pipeline_state.shader_rast_prim = MESA_PRIM_COUNT; + ctx->gfx_pipeline_state.rast_prim = MESA_PRIM_COUNT; zink_init_draw_functions(ctx, screen); zink_init_grid_functions(ctx);