diff options
author | José Fonseca <[email protected]> | 2013-04-20 12:24:44 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-04-22 18:39:06 +0100 |
commit | 7c1bf8e381b914f88335686cc6561f89dcca9ae5 (patch) | |
tree | 2756bb32139586088e1e58c624e47f097373ddd5 /src/gallium/auxiliary/draw/draw_context.c | |
parent | 95c83824e6c3740781d1e9f7ce6a5fbe839d0457 (diff) |
gallium: Add a new clip_halfz rasterizer state.
gl_rasterization_rules lumps too many different flags.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 0f98021247a..5272951d2b3 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -712,6 +712,7 @@ draw_get_rasterizer_no_cull( struct draw_context *draw, rast.flatshade = flatshade; rast.front_ccw = 1; rast.gl_rasterization_rules = draw->rasterizer->gl_rasterization_rules; + rast.clip_halfz = draw->rasterizer->clip_halfz; draw->rasterizer_no_cull[scissor][flatshade] = pipe->create_rasterizer_state(pipe, &rast); |