intel: refactor planar format lookup
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 28 Dec 2012 10:22:54 +0000 (12:22 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 2 Aug 2013 05:56:03 +0000 (08:56 +0300)
commit904587ac3aae82c2c9c2aba94280021703cb88bd
treec95961d338699ab9e501a0288e3ef331f4665a4a
parent55162e21640380bab6cb537ca6b937870be0fc9a
intel: refactor planar format lookup

v2 (Eric): refactor both occurences, not just one

v3 (Chad): replace 0 by NULL

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_screen.c