summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-05-28 16:54:35 +0100
committerKeith Whitwell <keithw@vmware.com>2010-06-07 16:39:02 +0100
commita6d9d18faecef9963be3e4b64a21b89889b4670d (patch)
tree13e11a9f52d72f3ae5ae15fa54b9467b0ce2dba1 /src/gallium/drivers/llvmpipe/lp_state.h
parent0cdc0a702c0ce0c93e82f32b30c8d6cdfc1d744e (diff)
llvmpipe: hook up basic gs and multiple constant buffer support
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state.h b/src/gallium/drivers/llvmpipe/lp_state.h
index c268f96647..3f7a85b682 100644
--- a/src/gallium/drivers/llvmpipe/lp_state.h
+++ b/src/gallium/drivers/llvmpipe/lp_state.h
@@ -53,6 +53,7 @@
#define LP_NEW_VS 0x2000
#define LP_NEW_QUERY 0x4000
#define LP_NEW_BLEND_COLOR 0x8000
+#define LP_NEW_GS 0x10000
struct vertex_info;
@@ -68,6 +69,11 @@ struct lp_vertex_shader
struct draw_vertex_shader *draw_data;
};
+/** Subclass of pipe_shader_state */
+struct lp_geometry_shader {
+ struct pipe_shader_state shader;
+ struct draw_geometry_shader *draw_data;
+};
/** Vertex element state */
struct lp_velems_state
@@ -109,6 +115,9 @@ void
llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe);
void
+llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe);
+
+void
llvmpipe_init_rasterizer_funcs(struct llvmpipe_context *llvmpipe);