diff options
author | Roland Scheidegger <[email protected]> | 2015-06-03 01:34:06 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2015-06-04 03:56:19 +0200 |
commit | 4fd42a7c2798d03476c84b79cb855984a15c222c (patch) | |
tree | 3fbd5094510d6cb4e877261509d5c6fb20b7dfd7 /src/gallium/drivers/llvmpipe/lp_surface.c | |
parent | d46d04529b9c1e55b4c3b65a7078bbbd7ab1a810 (diff) |
llvmpipe: Implement stencil export
Pretty trivial, fixes the issue that we're expected to be able to blit
stencil surfaces (as the blit just relies on util blitter code which needs
stencil export to do it).
2 piglits skip->pass, 11 fail->pass
v2: prettify, keep different stencil ref value handling out of depth/stencil
test itself.
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_surface.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_surface.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_surface.c b/src/gallium/drivers/llvmpipe/lp_surface.c index 08f968f7f0a..b985877e43e 100644 --- a/src/gallium/drivers/llvmpipe/lp_surface.c +++ b/src/gallium/drivers/llvmpipe/lp_surface.c @@ -139,11 +139,6 @@ static void lp_blit(struct pipe_context *pipe, return; /* done */ } - if (info.mask & PIPE_MASK_S) { - debug_printf("llvmpipe: cannot blit stencil, skipping\n"); - info.mask &= ~PIPE_MASK_S; - } - if (!util_blitter_is_blit_supported(lp->blitter, &info)) { debug_printf("llvmpipe: blit unsupported %s -> %s\n", util_format_short_name(info.src.resource->format), |