summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_context.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_context.h
parent0cdc0a702c0ce0c93e82f32b30c8d6cdfc1d744e (diff)
llvmpipe: hook up basic gs and multiple constant buffer support
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.h b/src/gallium/drivers/llvmpipe/lp_context.h
index 689265fa30..cb04d4a4d5 100644
--- a/src/gallium/drivers/llvmpipe/lp_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_context.h
@@ -60,13 +60,14 @@ struct llvmpipe_context {
const struct pipe_rasterizer_state *rasterizer;
struct lp_fragment_shader *fs;
const struct lp_vertex_shader *vs;
+ const struct lp_geometry_shader *gs;
const struct lp_velems_state *velems;
/** Other rendering state */
struct pipe_blend_color blend_color;
struct pipe_stencil_ref stencil_ref;
struct pipe_clip_state clip;
- struct pipe_resource *constants[PIPE_SHADER_TYPES];
+ struct pipe_resource *constants[PIPE_SHADER_TYPES][PIPE_MAX_CONSTANT_BUFFERS];
struct pipe_framebuffer_state framebuffer;
struct pipe_poly_stipple poly_stipple;
struct pipe_scissor_state scissor;