[Mesa-dev] [PATCH 00/11] i965: Use BLORP for depth/stencil clears
Jason Ekstrand
jason at jlekstrand.net
Thu Jun 8 17:46:43 UTC 2017
On Tue, Jun 6, 2017 at 9:59 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> This little series switches the GL driver to use BLORP for depth and
> stencil clears. BLORP has had depth/stencil clear support ever since we
> started using it in the Vulkan driver but we didn't hook it up in GL
> because of a few very hard-to-debug CTS fails. Patches 10 takes care of
> those and we now pass except for some weird behavior around occlusion
> queries on Sandy Bridge. I'll look into those later. For now, I think the
> series is worth reviewing.
>
The sandy bridge issue has now been sorted:
https://patchwork.freedesktop.org/patch/160590/
> Jason Ekstrand (11):
> i965/blorp: Set aux_usage to NONE for miplevels without HiZ
> mesa: Add a BUFFER_BITS mask for depth+stencil
> i965/miptree: Choose the stencil layout in miptree_create_layout
> intel/isl: Properly set SeparateStencilBufferEnable on gen5-6
> i965: Remove some of the remnants of meta
> i965: Remove some unneeded fields from brw_context
> i965/blorp: Set no_depth_or_stencil correctly
> i965/blorp: Do a depth flush/stall prior to HiZ operations
> i965: Disable the interleaved vertex optimization when instancing
> i965: Set step_rate == 0 for interleaved vertex buffers
> i965: Use blorp for depth/stencil clears on gen6+
>
> src/intel/isl/isl_emit_depth_stencil.c | 13 ++-
> src/mesa/drivers/dri/i965/brw_blorp.c | 129
> ++++++++++++++++++++++++++
> src/mesa/drivers/dri/i965/brw_blorp.h | 4 +
> src/mesa/drivers/dri/i965/brw_clear.c | 6 ++
> src/mesa/drivers/dri/i965/brw_context.h | 13 ---
> src/mesa/drivers/dri/i965/brw_draw_upload.c | 12 ++-
> src/mesa/drivers/dri/i965/brw_wm.c | 2 +-
> src/mesa/drivers/dri/i965/genX_blorp_exec.c | 3 +-
> src/mesa/drivers/dri/i965/genX_state_upload.c | 2 +-
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 6 +-
> src/mesa/main/mtypes.h | 3 +
> 11 files changed, 167 insertions(+), 26 deletions(-)
>
> --
> 2.5.0.400.gff86faf
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170608/33a41a93/attachment.html>
More information about the mesa-dev
mailing list