[Mesa-dev] [RFC PATCH 00/12] Enable GL_AMD_vertex_shader_layer extension

Jordan Justen jljusten at gmail.com
Wed Jul 17 10:46:27 PDT 2013


A little clarification of the RFC tag for this series.

Patches 1-9: Should be ready, and could be applied separately
Patch 10: I'm working with Chad to verify this better
Patches 11-12: I need more layered rendering tests

On Mon, Jul 15, 2013 at 5:14 PM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
> git://people.freedesktop.org/~jljusten/mesa ivb-full-depth-buffer-v1
>
> This series converts DEPTH_BUFFER to use the LOD and
> minimum array element fields and always points the
> depth, hiz and stencil buffers at the top of the
> miptree surface.
>
> This should allows us to support layered rendering,
> although testing of this is not completed. Layered
> rendering will be required for GL 3.2 / GLSL 1.50
> support, but it can also be exposed via the
> GL_AMD_vertex_shader_layer extension.
>
> Testing on this series (IVB and HSW):
> * Piglit: Fixes array-depth-roundtrip
> * Basic visual inspection of Unigine Tropics
>
> Jordan Justen (12):
>   i965: init global state first in
>     brw_workaround_depthstencil_alignment
>   gen7 depth surface: calculate more specific surface type
>   gen7 depth surface: calculate depth (array size) for depth surface
>   gen7 depth surface: calculate LOD being rendered to
>   gen7 depth surface: determine if layered rendering is being used
>   gen7 depth surface: calculate minimum array element being rendered
>   gen7 blorp depth: calculate base surface width/height
>   hsw hiz: Add new size restrictions for miplevels > 0
>   gen7 depth surface: program 3DSTATE_DEPTH_BUFFER to top of surface
>   hsw hiz: Remove x/y offset restriction for hiz
>   i965 gen7: don't set FORCE_ZERO_RTAINDEX in clip state
>   intel: enable GL_AMD_vertex_shader_layer extension for gen7+
>
>  src/mesa/drivers/dri/i965/brw_misc_state.c    |   25 +++++--
>  src/mesa/drivers/dri/i965/brw_tex_layout.c    |   10 +--
>  src/mesa/drivers/dri/i965/gen7_blorp.cpp      |   93 ++++++++++++-------------
>  src/mesa/drivers/dri/i965/gen7_clip_state.c   |    3 +-
>  src/mesa/drivers/dri/i965/gen7_misc_state.c   |   87 ++++++++++++++++++++---
>  src/mesa/drivers/dri/i965/intel_extensions.c  |    4 ++
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.c |   30 +++-----
>  7 files changed, 157 insertions(+), 95 deletions(-)
>
> --
> 1.7.10.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list