llvmpipe: Implement stencil export
authorRoland Scheidegger <sroland@vmware.com>
Tue, 2 Jun 2015 23:34:06 +0000 (01:34 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 4 Jun 2015 01:56:19 +0000 (03:56 +0200)
commit4fd42a7c2798d03476c84b79cb855984a15c222c
tree3fbd5094510d6cb4e877261509d5c6fb20b7dfd7
parentd46d04529b9c1e55b4c3b65a7078bbbd7ab1a810
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 <jfonseca@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/llvmpipe/lp_bld_depth.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/gallium/drivers/llvmpipe/lp_surface.c