diff options
author | Keith Whitwell <[email protected]> | 2010-05-28 16:54:35 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-06-07 16:39:02 +0100 |
commit | a6d9d18faecef9963be3e4b64a21b89889b4670d (patch) | |
tree | 13e11a9f52d72f3ae5ae15fa54b9467b0ce2dba1 /src/gallium/drivers/llvmpipe/lp_state.h | |
parent | 0cdc0a702c0ce0c93e82f32b30c8d6cdfc1d744e (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.h | 9 |
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 c268f966473..3f7a85b6827 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); |