summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/cso_cache/cso_context.h
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-02-18 16:36:25 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-02-18 16:36:25 +0100
commit51d139f03898e5e46af6363c6bba131455738cc4 (patch)
tree74a3f359c81ebf7e4dbf144b3390335fe4fe8fe9 /src/gallium/auxiliary/cso_cache/cso_context.h
parent464a72dd4154f314e08c9d0c4d07417e2bf255f0 (diff)
downloadexternal_mesa3d-51d139f03898e5e46af6363c6bba131455738cc4.zip
external_mesa3d-51d139f03898e5e46af6363c6bba131455738cc4.tar.gz
external_mesa3d-51d139f03898e5e46af6363c6bba131455738cc4.tar.bz2
gallium: use cso state handling for pipe_vertex_element state
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h
index 707b3c2..2caa587 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.h
+++ b/src/gallium/auxiliary/cso_cache/cso_context.h
@@ -122,6 +122,12 @@ void
cso_restore_vertex_sampler_textures(struct cso_context *cso);
+enum pipe_error cso_set_vertex_elements(struct cso_context *ctx,
+ unsigned count,
+ const struct pipe_vertex_element *states);
+void cso_save_vertex_elements(struct cso_context *ctx);
+void cso_restore_vertex_elements(struct cso_context *ctx);
+
/* These aren't really sensible -- most of the time the api provides
* object semantics for shaders anyway, and the cases where it doesn't
@@ -157,7 +163,6 @@ void cso_save_geometry_shader(struct cso_context *cso);
void cso_restore_geometry_shader(struct cso_context *cso);
-
enum pipe_error cso_set_framebuffer(struct cso_context *cso,
const struct pipe_framebuffer_state *fb);
void cso_save_framebuffer(struct cso_context *cso);