intel/isl: Add isl_format_has_color_component() function.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 8 Mar 2019 22:01:58 +0000 (14:01 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Mar 2019 23:46:25 +0000 (16:46 -0700)
commitd97eddff25afce7a49975b9b2fab1bedb9d18843
tree1d1e996107836cb42afcf92d449573374bcda1e6
parent7f6344a726b9e201189ace0a9d93b247729ad1d5
intel/isl: Add isl_format_has_color_component() function.

v2: Get luminance bits from luminance component (Ken).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/isl/isl.h
src/intel/isl/isl_format.c