freedreno/blitter: Save tessellation state
authorKristian H. Kristensen <hoegsberg@google.com>
Tue, 22 Oct 2019 23:26:11 +0000 (16:26 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:40:27 +0000 (16:40 -0800)
We have tessellation state now.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_blitter.c

index 4dd8b27957b3ade9fc5e73fa30cfa5c97dc67c78..ca6cd8ebdcd017b26cb7a31b05a6c913a26f46e1 100644 (file)
@@ -87,6 +87,8 @@ 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_tessctrl_shader(ctx->blitter, ctx->prog.hs);
+       util_blitter_save_tesseval_shader(ctx->blitter, ctx->prog.ds);
        util_blitter_save_geometry_shader(ctx->blitter, ctx->prog.gs);
        util_blitter_save_so_targets(ctx->blitter, ctx->streamout.num_targets,
                        ctx->streamout.targets);