summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/cso_cache/cso_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-21 20:25:47 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-21 20:52:54 +0100
commit1dc5e56f3e48b629daa18c2d8631c96bda638eb6 (patch)
tree5c985861afe45bc653dc7081cd62e0fe1c90e1fa /src/gallium/auxiliary/cso_cache/cso_context.h
parentc2afa182f31ed4a8be01078c2b8bedcd881cd157 (diff)
cso: provide functions to bind fs/vs handles directly
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h
index 665e8d9911..945f4881a8 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.h
+++ b/src/gallium/auxiliary/cso_cache/cso_context.h
@@ -96,6 +96,8 @@ void cso_restore_sampler_textures( struct cso_context *cso );
* (eg mesa's internall-generated texenv programs), it will be up to
* the state tracker to implement their own specialized caching.
*/
+void cso_set_fragment_shader_handle(struct cso_context *ctx,
+ void *handle );
void cso_set_fragment_shader( struct cso_context *cso,
const struct pipe_shader_state *shader );
void cso_save_fragment_shader(struct cso_context *cso);
@@ -103,6 +105,8 @@ void cso_restore_fragment_shader(struct cso_context *cso);
+void cso_set_vertex_shader_handle(struct cso_context *ctx,
+ void *handle );
void cso_set_vertex_shader( struct cso_context *cso,
const struct pipe_shader_state *shader );
void cso_save_vertex_shader(struct cso_context *cso);