diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-03-02 16:32:25 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-05-16 14:51:22 +0200 |
commit | 2a7da1bddbee2be09ae6c2276a04c658807720b0 (patch) | |
tree | c793a85568842b16b54d0af3ff2a3255a646f802 /src/gallium/auxiliary/cso_cache/cso_context.h | |
parent | 267ad27ab64956dff857b8584c4862da2e7dfc78 (diff) | |
download | external_mesa3d-2a7da1bddbee2be09ae6c2276a04c658807720b0.zip external_mesa3d-2a7da1bddbee2be09ae6c2276a04c658807720b0.tar.gz external_mesa3d-2a7da1bddbee2be09ae6c2276a04c658807720b0.tar.bz2 |
gallium/cso: add support for tessellation shaders
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index aa56c58..cc50b60 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -141,6 +141,18 @@ void cso_save_geometry_shader(struct cso_context *cso); void cso_restore_geometry_shader(struct cso_context *cso); +void cso_set_tessctrl_shader_handle(struct cso_context *ctx, void *handle); +void cso_delete_tessctrl_shader(struct cso_context *ctx, void *handle); +void cso_save_tessctrl_shader(struct cso_context *cso); +void cso_restore_tessctrl_shader(struct cso_context *cso); + + +void cso_set_tesseval_shader_handle(struct cso_context *ctx, void *handle); +void cso_delete_tesseval_shader(struct cso_context *ctx, void *handle); +void cso_save_tesseval_shader(struct cso_context *cso); +void cso_restore_tesseval_shader(struct cso_context *cso); + + void cso_set_framebuffer(struct cso_context *cso, const struct pipe_framebuffer_state *fb); void cso_save_framebuffer(struct cso_context *cso); |