From a6d9d18faecef9963be3e4b64a21b89889b4670d Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 28 May 2010 16:54:35 +0100 Subject: llvmpipe: hook up basic gs and multiple constant buffer support --- src/gallium/drivers/llvmpipe/lp_state.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_state.h') 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 @@ -108,6 +114,9 @@ llvmpipe_init_fs_funcs(struct llvmpipe_context *llvmpipe); 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); -- cgit v1.2.3