diff options
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; |