diff options
author | Chad Versace <[email protected]> | 2016-01-22 17:06:44 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-01-22 17:19:57 -0800 |
commit | 2fa1f745ea2bbb7a65883c3e6d05de38b21f76a9 (patch) | |
tree | 1925c76833e26d28dda596d4adeb73d4b3563899 /src/isl | |
parent | fa5f45e8aa95189244edb12a3dc0af165418086a (diff) |
isl: Add func isl_tiling_is_any_y()
Diffstat (limited to 'src/isl')
-rw-r--r-- | src/isl/isl.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -779,6 +779,12 @@ 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) { return (1u << tiling) & ISL_TILING_STD_Y_MASK; |