diff options
author | Christian König <[email protected]> | 2012-07-18 11:03:32 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2012-07-24 12:29:30 +0200 |
commit | e6937211da019223ca3b8fd0be6ed5a5fe35c706 (patch) | |
tree | a0922673693c629128fc0a8ca748353581682afd /src/gallium/drivers/radeonsi/r600_blit.c | |
parent | b41b3eb9893b9bac8df363fef4d10c68798616e2 (diff) |
radeonsi: move stencil_ref to new handling
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_blit.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/r600_blit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_blit.c b/src/gallium/drivers/radeonsi/r600_blit.c index b0474acee87..b67d20ffce5 100644 --- a/src/gallium/drivers/radeonsi/r600_blit.c +++ b/src/gallium/drivers/radeonsi/r600_blit.c @@ -50,9 +50,7 @@ static void r600_blitter_begin(struct pipe_context *ctx, enum r600_blitter_op op util_blitter_save_blend(rctx->blitter, rctx->queued.named.blend); util_blitter_save_depth_stencil_alpha(rctx->blitter, rctx->queued.named.dsa); - if (rctx->states[R600_PIPE_STATE_STENCIL_REF]) { - util_blitter_save_stencil_ref(rctx->blitter, &rctx->stencil_ref); - } + util_blitter_save_stencil_ref(rctx->blitter, &rctx->stencil_ref); util_blitter_save_rasterizer(rctx->blitter, rctx->queued.named.rasterizer); util_blitter_save_fragment_shader(rctx->blitter, rctx->ps_shader); util_blitter_save_vertex_shader(rctx->blitter, rctx->vs_shader); |