freedreno/blitter: Save GS state
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 11 Oct 2019 22:15:23 +0000 (15:15 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Thu, 17 Oct 2019 20:43:53 +0000 (13:43 -0700)
We have GS state now.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/freedreno_blitter.c

index a684bc41ba5acca57e37198616da0ba973e3649b..4dd8b27957b3ade9fc5e73fa30cfa5c97dc67c78 100644 (file)
@@ -87,6 +87,7 @@ fd_blitter_pipe_begin(struct fd_context *ctx, bool render_cond, bool discard,
        util_blitter_save_vertex_buffer_slot(ctx->blitter, ctx->vtx.vertexbuf.vb);
        util_blitter_save_vertex_elements(ctx->blitter, ctx->vtx.vtx);
        util_blitter_save_vertex_shader(ctx->blitter, ctx->prog.vs);
+       util_blitter_save_geometry_shader(ctx->blitter, ctx->prog.gs);
        util_blitter_save_so_targets(ctx->blitter, ctx->streamout.num_targets,
                        ctx->streamout.targets);
        util_blitter_save_rasterizer(ctx->blitter, ctx->rasterizer);