summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-10-22 16:26:11 -0700
committerKristian H. Kristensen <[email protected]>2019-11-07 16:40:27 -0800
commit07aedc367cbfe5358da4b274483a525e7cfaf04c (patch)
treee828f13c5cf91d2bb55ba0db8962ba5dc180c012
parentd2d0c8186d1c3fe929147950cc887a5c5d7978dd (diff)
freedreno/blitter: Save tessellation state
We have tessellation state now. Signed-off-by: Kristian H. Kristensen <[email protected]> Acked-by: Eric Anholt <[email protected]> Reviewed-by: Rob Clark <[email protected]>
-rw-r--r--src/gallium/drivers/freedreno/freedreno_blitter.c2
1 files changed, 2 insertions, 0 deletions
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);