projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa5f45e
)
isl: Add func isl_tiling_is_any_y()
author
Chad Versace
<chad.versace@intel.com>
Sat, 23 Jan 2016 01:06:44 +0000
(17:06 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Sat, 23 Jan 2016 01:19:57 +0000
(17:19 -0800)
src/isl/isl.h
patch
|
blob
|
history
diff --git
a/src/isl/isl.h
b/src/isl/isl.h
index 85e43b8b35b91865d2a3e754c6600e2f30c46e0b..8905d868f4e2b4ab2321fc09d9682a674372cc1a 100644
(file)
--- 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)
{