summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast_priv.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-10-08 19:03:14 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-10-08 19:03:14 +0100
commitab76b2a8b896edc1e972de108d044b70310b4324 (patch)
treea2c08275b8fec587cb3adc6b583a8ec145cbdf74 /src/gallium/drivers/llvmpipe/lp_rast_priv.h
parent35a90e67ebc37dc0a8432db76c91b8855a94598a (diff)
llvmpipe: Complete more rasterizer methods..
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_priv.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_priv.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_priv.h b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
index b819519553..29e4c8fd80 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_priv.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
@@ -38,7 +38,7 @@ struct lp_rast_tile
{
uint8_t *color;
- uint8_t *depth;
+ uint32_t *depth;
};
@@ -55,12 +55,20 @@ struct lp_rasterizer {
struct {
- struct pipe_surface *color;
- struct pipe_surface *zstencil;
+ struct pipe_surface *cbuf;
+ struct pipe_surface *zsbuf;
unsigned clear_color;
unsigned clear_depth;
char clear_stencil;
} state;
+
+ const struct lp_rast_state *shader_state;
};
+
+void lp_rast_shade_quads( struct lp_rasterizer *rast,
+ const struct lp_rast_shader_inputs *inputs,
+ unsigned x, unsigned y,
+ const unsigned *masks);
+
#endif