diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_priv.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast_priv.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_priv.h b/src/gallium/drivers/llvmpipe/lp_rast_priv.h index 538ec22551..7eced38d67 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast_priv.h +++ b/src/gallium/drivers/llvmpipe/lp_rast_priv.h @@ -3,16 +3,24 @@ #include "lp_rast.h" + +/* We can choose whatever layout for the internal tile storage we + * prefer: + */ +struct lp_rast_tile +{ + uint8_t *color; + + uint8_t *depth; +}; + + struct lp_rasterizer { /* We can choose whatever layout for the internal tile storage we * prefer: */ - struct { - unsigned color[TILESIZE][TILESIZE]; - unsigned depth[TILESIZE][TILESIZE]; - char stencil[TILESIZE][TILESIZE]; - } tile; + struct lp_rast_tile tile; unsigned x; |