[Mesa-dev] Meta path for gen8 stencil

Kenneth Graunke kenneth at whitecape.org
Fri May 9 17:13:05 PDT 2014


On 05/09/2014 01:28 AM, Topi Pohjolainen wrote:
> I have the corresponding bits also for gen6-7, but there is a little
> work left in that front. Passes all the relevant piglit tests on bdw.
> 
> Topi Pohjolainen (13):
>   i965: Allow stencil to be used for sampling and as render target
>   i965/wm: Surface state overrides for configuring w-tiled as y-tiled
>   i965/gen8: Use helper variables for surface parameters
>   i965/gen8: Allow stencil buffers to be configured as single sampled
>   i965/gen8: Surface state overriding for stencil
>   i965: Extend brw_get_rb_for_first_slice() for specified level/layer
>   i965/blorp: Expose coordinate scissoring and mirroring
>   meta: Merge compiling and linking of blit program
>   meta: Refactor binding of renderbuffer as texture image
>   meta: Refactor configuration of renderbuffer sampling
>   meta: Refactor state save/restore for framebuffer texture blits
>   i965/meta: Stencil blits
>   i965/fb: Use meta path for stencil blits
> 
>  src/mesa/drivers/common/meta.c                    |  45 +-
>  src/mesa/drivers/common/meta.h                    |  34 ++
>  src/mesa/drivers/common/meta_blit.c               | 175 ++++----
>  src/mesa/drivers/dri/i965/Makefile.sources        |   2 +
>  src/mesa/drivers/dri/i965/brw_blorp_blit.cpp      | 124 +-----
>  src/mesa/drivers/dri/i965/brw_context.h           |  10 +
>  src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c | 506 ++++++++++++++++++++++
>  src/mesa/drivers/dri/i965/brw_meta_updownsample.c |  13 +-
>  src/mesa/drivers/dri/i965/brw_meta_util.c         | 160 +++++++
>  src/mesa/drivers/dri/i965/brw_meta_util.h         |  46 ++
>  src/mesa/drivers/dri/i965/brw_state.h             |   6 +
>  src/mesa/drivers/dri/i965/brw_surface_formats.c   |   7 +-
>  src/mesa/drivers/dri/i965/brw_wm_surface_state.c  |  22 +
>  src/mesa/drivers/dri/i965/gen8_surface_state.c    |  36 +-
>  src/mesa/drivers/dri/i965/intel_fbo.c             |   9 +
>  15 files changed, 969 insertions(+), 226 deletions(-)
>  create mode 100644 src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c
>  create mode 100644 src/mesa/drivers/dri/i965/brw_meta_util.c
>  create mode 100644 src/mesa/drivers/dri/i965/brw_meta_util.h

Patches 2-10 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

Also, please add:
Cc: "10.2" <mesa-stable at lists.freedesktop.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140509/fce6f1ed/attachment.sig>


More information about the mesa-dev mailing list