538ec225511341e3574b268308adafe9c86d4a91
[mesa.git] / src / gallium / drivers / llvmpipe / lp_rast_priv.h
1 #ifndef LP_RAST_PRIV_H
2 #define LP_RAST_PRIV_H
3
4 #include "lp_rast.h"
5
6 struct lp_rasterizer {
7
8 /* We can choose whatever layout for the internal tile storage we
9 * prefer:
10 */
11 struct {
12 unsigned color[TILESIZE][TILESIZE];
13 unsigned depth[TILESIZE][TILESIZE];
14 char stencil[TILESIZE][TILESIZE];
15 } tile;
16
17
18 unsigned x;
19 unsigned y;
20
21
22 struct {
23 struct pipe_surface *color;
24 struct pipe_surface *zstencil;
25 unsigned clear_color;
26 unsigned clear_depth;
27 char clear_stencil;
28 } state;
29 };
30
31 #endif