diff options
author | José Fonseca <[email protected]> | 2009-10-08 19:03:14 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-10-08 19:03:14 +0100 |
commit | ab76b2a8b896edc1e972de108d044b70310b4324 (patch) | |
tree | a2c08275b8fec587cb3adc6b583a8ec145cbdf74 /src/gallium/drivers/llvmpipe/lp_rast_priv.h | |
parent | 35a90e67ebc37dc0a8432db76c91b8855a94598a (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.h | 14 |
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 b819519553f..29e4c8fd800 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 |