diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-04-15 21:36:21 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-04-21 20:44:27 -0700 |
commit | 2980507a1983b2af157dc538fb22e759c1d257e8 (patch) | |
tree | 5fcb0ca0a1fe3d81eb4b3ebd36796d9fc05df85f /src/intel/isl/isl.h | |
parent | 3415cf5f2f66128488a260f024e075f239368c35 (diff) |
isl/format: Add a get_num_channels helper
Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r-- | src/intel/isl/isl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index bc242dbd4a3..2a29b28da59 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -854,6 +854,8 @@ isl_format_has_int_channel(enum isl_format fmt) isl_format_has_sint_channel(fmt); } +unsigned isl_format_get_num_channels(enum isl_format fmt); + static inline bool isl_format_is_compressed(enum isl_format fmt) { |