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

Nanley Chery nanleychery at gmail.com
Wed Sep 21 21:43:20 UTC 2016


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



More information about the mesa-dev mailing list