zink: fixup: save rasterizer
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 15 Jul 2019 12:05:41 +0000 (14:05 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:46 +0000 (08:51 +0000)
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_context.c

index 15f2de6f52bb1acdec9a55979c1a6a86ed181421..b78e2c36348386b7e2b81f3fce69971d84b8758d 100644 (file)
@@ -1170,7 +1170,7 @@ zink_blit(struct pipe_context *pctx,
       util_blitter_save_depth_stencil_alpha(ctx->blitter, ctx->gfx_pipeline_state.depth_stencil_alpha_state);
       util_blitter_save_vertex_elements(ctx->blitter, ctx->element_state);
       util_blitter_save_stencil_ref(ctx->blitter, &ctx->stencil_ref);
-      util_blitter_save_rasterizer(ctx->blitter, ctx->gfx_pipeline_state.rast_state);
+      util_blitter_save_rasterizer(ctx->blitter, ctx->rast_state);
       util_blitter_save_fragment_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_FRAGMENT]);
       util_blitter_save_vertex_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_VERTEX]);
       util_blitter_save_framebuffer(ctx->blitter, &ctx->fb_state);