[Mesa-dev] [PATCH] intel/isl: Ignore base_array_layer and array_len for 3D storage surfaces

Chad Versace chadversary at chromium.org
Tue Sep 13 17:40:54 UTC 2016


On Tue 13 Sep 2016, Jason Ekstrand wrote:
> The time we want to restrict the Z range of a 3-D surface is when rendering
> to it.  For storage surfaces, we always want he full range.  However, we
Typo ------------------------------------------^^
> still need to set MinimumArrayElement and RenderTargetViewExtent to
> sensible values so we'll just set them to the reasonable defaults we used
> before we started respecting the base_array_layer and array_len.
> 
> This fixes a bunch of Vulkan CTS regressions caused by 48f195d7c6483ed.
> 
> Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
> ---
>  src/intel/isl/isl_surface_state.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Chad Versace <chadversary at chromium.org>



More information about the mesa-dev mailing list