diff options
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util/u_blitter.h')
-rw-r--r-- | mesalib/src/gallium/auxiliary/util/u_blitter.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mesalib/src/gallium/auxiliary/util/u_blitter.h b/mesalib/src/gallium/auxiliary/util/u_blitter.h index 1568030ac..93b0e513b 100644 --- a/mesalib/src/gallium/auxiliary/util/u_blitter.h +++ b/mesalib/src/gallium/auxiliary/util/u_blitter.h @@ -102,7 +102,7 @@ struct blitter_context void *saved_dsa_state; /**< depth stencil alpha state */ void *saved_velem_state; /**< vertex elements state */ void *saved_rs_state; /**< rasterizer state */ - void *saved_fs, *saved_vs, *saved_gs; /**< shaders */ + void *saved_fs, *saved_vs, *saved_gs, *saved_tcs, *saved_tes; /**< shaders */ struct pipe_framebuffer_state saved_fb_state; /**< framebuffer state */ struct pipe_stencil_ref saved_stencil_ref; /**< stencil ref */ @@ -427,6 +427,20 @@ void util_blitter_save_geometry_shader(struct blitter_context *blitter, blitter->saved_gs = gs; } +static INLINE void +util_blitter_save_tessctrl_shader(struct blitter_context *blitter, + void *sh) +{ + blitter->saved_tcs = sh; +} + +static INLINE void +util_blitter_save_tesseval_shader(struct blitter_context *blitter, + void *sh) +{ + blitter->saved_tes = sh; +} + static INLINE void util_blitter_save_framebuffer(struct blitter_context *blitter, const struct pipe_framebuffer_state *state) |