diff options
author | Zack Rusin <[email protected]> | 2007-09-20 10:28:20 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-09-20 10:28:20 -0400 |
commit | 1d8c31b47bd34a43e1f78a9f21a0c02c57c58479 (patch) | |
tree | 7614a20a34d104af61c71087083eb23c7f14414c /src/mesa/pipe/i915simple/i915_context.h | |
parent | 7a06c026ad24b74048f6d125383faf25deb1dfbb (diff) |
Rewrite the depth_stencil state handling in i915.
Done to match the new cso semantics. translate in create,
use in bind and later delete.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.h')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_context.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.h b/src/mesa/pipe/i915simple/i915_context.h index ea6d1ce87bc..1a7df6566b1 100644 --- a/src/mesa/pipe/i915simple/i915_context.h +++ b/src/mesa/pipe/i915simple/i915_context.h @@ -120,6 +120,13 @@ struct i915_blend_state { unsigned LIS6; }; +struct i915_depth_stencil_state { + unsigned stencil_modes4; + unsigned bfo[2]; + unsigned stencil_LIS5; + unsigned depth_LIS6; +}; + struct i915_context { struct pipe_context pipe; @@ -128,9 +135,9 @@ struct i915_context /* The most recent drawing state as set by the driver: */ - const struct i915_blend_state *blend; + const struct i915_blend_state *blend; const struct pipe_sampler_state *sampler[PIPE_MAX_SAMPLERS]; - const struct pipe_depth_stencil_state *depth_stencil; + const struct i915_depth_stencil_state *depth_stencil; const struct pipe_rasterizer_state *rasterizer; const struct pipe_shader_state *fs; |