Mesa (master): isl: Fix isl_tiling_is_any_y()

Nanley Chery nchery at kemper.freedesktop.org
Fri Jul 15 17:38:10 UTC 2016


Module: Mesa
Branch: master
Commit: 00caba4152fd85492d1eb3306ae6890b3f9e90b2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00caba4152fd85492d1eb3306ae6890b3f9e90b2

Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Fri Jun 24 15:37:34 2016 -0700

isl: Fix isl_tiling_is_any_y()

Cc: 12.0 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
Reviewed-by: Chad Versace <chad.versace at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 src/intel/isl/isl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index b5884be..eacc09f 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1089,7 +1089,7 @@ isl_has_matching_typed_storage_image_format(const struct brw_device_info *devinf
 static inline bool
 isl_tiling_is_any_y(enum isl_tiling tiling)
 {
-   return (1u << tiling) & ISL_TILING_ANY_MASK;
+   return (1u << tiling) & ISL_TILING_ANY_Y_MASK;
 }
 
 static inline bool




More information about the mesa-commit mailing list