[Mesa-dev] [PATCH 2/3] anv/cmd_buffer: Fix programmed HiZ qpitch

Jason Ekstrand jason at jlekstrand.net
Fri Jan 6 23:04:51 UTC 2017


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Fri, Jan 6, 2017 at 2:46 PM, Nanley Chery <nanleychery at gmail.com> wrote:

> Match the comment above the field by using units of pixels and not HiZ
> blocks.
>
> Cc: mesa-stable at lists.freedesktop.org
> Suggested-by: Jason Ekstrand <jason at jlekstrand.net>
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/intel/vulkan/genX_cmd_buffer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/genX_cmd_buffer.c
> b/src/intel/vulkan/genX_cmd_buffer.c
> index 0d24aeaed6..7a44c449a8 100644
> --- a/src/intel/vulkan/genX_cmd_buffer.c
> +++ b/src/intel/vulkan/genX_cmd_buffer.c
> @@ -2190,7 +2190,7 @@ cmd_buffer_emit_depth_stencil(struct anv_cmd_buffer
> *cmd_buffer)
>            * 2-D images.  Prior to Sky Lake, this field is always in rows.
>            */
>           hdb.SurfaceQPitch =
> -            isl_surf_get_array_pitch_el_rows(&image->aux_surface.isl) >>
> 2;
> +            isl_surf_get_array_pitch_sa_rows(&image->aux_surface.isl) >>
> 2;
>  #endif
>        }
>     } else {
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170106/dc1111f7/attachment.html>


More information about the mesa-dev mailing list