From: Kristian H. Kristensen Date: Tue, 22 Oct 2019 23:26:11 +0000 (-0700) Subject: freedreno/blitter: Save tessellation state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07aedc367cbfe5358da4b274483a525e7cfaf04c;p=mesa.git freedreno/blitter: Save tessellation state We have tessellation state now. Signed-off-by: Kristian H. Kristensen Acked-by: Eric Anholt Reviewed-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_blitter.c b/src/gallium/drivers/freedreno/freedreno_blitter.c index 4dd8b27957b..ca6cd8ebdcd 100644 --- a/src/gallium/drivers/freedreno/freedreno_blitter.c +++ b/src/gallium/drivers/freedreno/freedreno_blitter.c @@ -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);