diff options
author | Patrice Mandin <[email protected]> | 2008-06-23 21:46:51 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2008-06-23 21:46:51 +0200 |
commit | 95fe122f67024f55d555e2816a95409a8b53a49e (patch) | |
tree | 2ac913c8ccc383198560015cadd26df3838a24be /src/gallium/drivers/nv30/nv30_context.h | |
parent | 0e1b36b0b257bfba4427a1e6e12c918e744b9977 (diff) |
nv30: add state zsa, based on nv40 one
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h index eb7e5a8b124..dce077b2b4b 100644 --- a/src/gallium/drivers/nv30/nv30_context.h +++ b/src/gallium/drivers/nv30/nv30_context.h @@ -82,6 +82,11 @@ struct nv30_rasterizer_state_new { struct nouveau_stateobj *so; }; +struct nv30_zsa_state { + struct pipe_depth_stencil_alpha_state pipe; + struct nouveau_stateobj *so; +}; + /* TODO: rename when removing the old state emitter */ struct nv30_blend_state_new { struct pipe_blend_state pipe; @@ -124,6 +129,7 @@ struct nv30_context { struct pipe_viewport_state viewport; struct pipe_framebuffer_state framebuffer; struct nv30_rasterizer_state_new *rasterizer; + struct nv30_zsa_state *zsa; unsigned stipple[32]; uint32_t rt_enable; |