[Mesa-dev] [PATCH] isl/surface_state: Fix typo in alignment comment

Jason Ekstrand jason at jlekstrand.net
Thu Sep 22 18:12:38 UTC 2016


Rb

On Sep 22, 2016 5:28 PM, "Nanley Chery" <nanleychery at gmail.com> wrote:

> Change SUFFACE to SURFACE.
>
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/intel/isl/isl_surface_state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/isl/isl_surface_state.c
> b/src/intel/isl/isl_surface_state.c
> index e18fa50..4ed177a 100644
> --- a/src/intel/isl/isl_surface_state.c
> +++ b/src/intel/isl/isl_surface_state.c
> @@ -144,7 +144,7 @@ get_image_alignment(const struct isl_surf *surf)
>            */
>           return isl_extent3d(4, 4, 1);
>        } else {
> -         /* In Skylake, RENDER_SUFFACE_STATE.SurfaceVerticalAlignment is
> in units
> +         /* In Skylake, RENDER_SURFACE_STATE.SurfaceVerticalAlignment is
> in units
>            * of surface elements (not pixels nor samples). For compressed
> formats,
>            * a "surface element" is defined as a compression block.  For
> example,
>            * if SurfaceVerticalAlignment is VALIGN_4 and SurfaceFormat is
> an ETC2
> --
> 2.10.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/20160922/dde1148b/attachment-0001.html>


More information about the mesa-dev mailing list