The memory is zero initialized which corresponds to MESA_PRIM_POINTS.
Fixes: 659c39f ("zink: rework primitive rasterization type logic")
Reviewed-by: Antonino Maniscalco <antonino.maniscalco@collabora.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25335>
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);