summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/cso_cache/cso_context.h
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-12-14 17:11:46 -0500
committerZack Rusin <zackr@vmware.com>2009-12-25 05:52:16 -0500
commit89d8577fb3036547ef0b47498cc8dc5c77f886e0 (patch)
tree9356cc45b0cdaad4f979b0d328ad0562686a66e8 /src/gallium/auxiliary/cso_cache/cso_context.h
parent57cce7a409724a261c6dae6c979496a630167742 (diff)
downloadexternal_mesa3d-89d8577fb3036547ef0b47498cc8dc5c77f886e0.zip
external_mesa3d-89d8577fb3036547ef0b47498cc8dc5c77f886e0.tar.gz
external_mesa3d-89d8577fb3036547ef0b47498cc8dc5c77f886e0.tar.bz2
gallium: add geometry shader support to gallium
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, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h
index e5b9217..b9e313e 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.h
+++ b/src/gallium/auxiliary/cso_cache/cso_context.h
@@ -146,6 +146,13 @@ void cso_save_vertex_shader(struct cso_context *cso);
void cso_restore_vertex_shader(struct cso_context *cso);
+enum pipe_error cso_set_geometry_shader_handle(struct cso_context *ctx,
+ void *handle);
+void cso_delete_geometry_shader(struct cso_context *ctx, void *handle);
+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);