[Mesa-dev] Meta path for gen8 stencil

Topi Pohjolainen topi.pohjolainen at intel.com
Fri May 9 01:28:03 PDT 2014


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

-- 
1.8.3.1



More information about the mesa-dev mailing list