From 2fa1f745ea2bbb7a65883c3e6d05de38b21f76a9 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 22 Jan 2016 17:06:44 -0800 Subject: [PATCH] isl: Add func isl_tiling_is_any_y() --- src/isl/isl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/isl/isl.h b/src/isl/isl.h index 85e43b8b35b..8905d868f4e 100644 --- a/src/isl/isl.h +++ b/src/isl/isl.h @@ -778,6 +778,12 @@ enum isl_format isl_lower_storage_image_format(const struct isl_device *dev, enum isl_format fmt); +static inline bool +isl_tiling_is_any_y(enum isl_tiling tiling) +{ + return (1u << tiling) & ISL_TILING_ANY_MASK; +} + static inline bool isl_tiling_is_std_y(enum isl_tiling tiling) { -- 2.30.2