intel: Improve the matching (more formats!) for TexImage from PBOs.
authorEric Anholt <eric@anholt.net>
Tue, 29 Jan 2013 00:59:29 +0000 (11:59 +1100)
committerEric Anholt <eric@anholt.net>
Wed, 6 Mar 2013 00:02:38 +0000 (16:02 -0800)
commit88b20d58344ed336b146799c0bf1149a932dc2d7
tree97235799a3de1306d9c3d777bf6df9c3f23bf416
parent731d474d98ab0cbba5e8baeaf4b2b9d24950c430
intel: Improve the matching (more formats!) for TexImage from PBOs.

Mesa core is the place for encoding what format/type matches a mesa
format, so rely on that.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_tex_image.c