mesa/formats: Take luminance into account in component count
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 22 Apr 2016 08:07:06 +0000 (11:07 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Sat, 23 Apr 2016 04:29:15 +0000 (07:29 +0300)
commit19948f1bf621d66a02b0be7c6042416bea923ea7
tree65d552dfcdccf57fb115ec8f7a4aacc7d4beec39
parent9e153c06920eb825198385085f0e7085b1fc5c00
mesa/formats: Take luminance into account in component count

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/main/glformats.c