summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_context.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-09-21 07:06:19 -0400
committerZack Rusin <[email protected]>2007-09-21 07:06:19 -0400
commit42df29d3b9139f7b8bb757893bb8bf930585cc33 (patch)
treea4a30ea9df20a69011a030e18a94d5dd86576d7f /src/mesa/pipe/i915simple/i915_context.h
parent6cb87cf26f904b891faa42268f373864fa33541d (diff)
Convert i915 to use cso semantics of alpha_test.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_context.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.h b/src/mesa/pipe/i915simple/i915_context.h
index 9958a8592dc..dc19b6efeb9 100644
--- a/src/mesa/pipe/i915simple/i915_context.h
+++ b/src/mesa/pipe/i915simple/i915_context.h
@@ -146,15 +146,19 @@ struct i915_sampler_state {
const struct pipe_sampler_state *templ;
};
+struct i915_alpha_test_state {
+ unsigned LIS6;
+};
+
struct i915_context
{
- struct pipe_context pipe;
+ struct pipe_context pipe;
struct i915_winsys *winsys;
struct draw_context *draw;
/* The most recent drawing state as set by the driver:
*/
- const struct pipe_alpha_test_state *alpha_test;
+ const struct i915_alpha_test_state *alpha_test;
const struct i915_blend_state *blend;
const struct i915_sampler_state *sampler[PIPE_MAX_SAMPLERS];
const struct i915_depth_stencil_state *depth_stencil;