diff options
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 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); |