r600/blit: add tcs/tes shader saves.
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 00:51:21 +0000 (10:51 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Dec 2015 23:59:00 +0000 (09:59 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_blit.c

index 4468b078898ad80b965ee78b5a3076060ee13e45..3d44ff2e6a64fcb485019cc11e18f6e12f406c66 100644 (file)
@@ -60,6 +60,8 @@ static void r600_blitter_begin(struct pipe_context *ctx, enum r600_blitter_op op
        util_blitter_save_vertex_elements(rctx->blitter, rctx->vertex_fetch_shader.cso);
        util_blitter_save_vertex_shader(rctx->blitter, rctx->vs_shader);
        util_blitter_save_geometry_shader(rctx->blitter, rctx->gs_shader);
+       util_blitter_save_tessctrl_shader(rctx->blitter, rctx->tcs_shader);
+       util_blitter_save_tesseval_shader(rctx->blitter, rctx->tes_shader);
        util_blitter_save_so_targets(rctx->blitter, rctx->b.streamout.num_targets,
                                     (struct pipe_stream_output_target**)rctx->b.streamout.targets);
        util_blitter_save_rasterizer(rctx->blitter, rctx->rasterizer_state.cso);