i965/surface_formats: Don't advertise 8 or 16-bit RGB formats
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Jul 2016 03:59:38 +0000 (20:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 Aug 2016 18:45:24 +0000 (11:45 -0700)
commitf6967ddd32d2e93b1de149251bce6317a773fd3d
tree10b3e9f65ba4ed7ccb98bac2983408a7bf79db95
parentfb90291dd5a734de3eb2ab59d883df3d2f9db0c7
i965/surface_formats: Don't advertise 8 or 16-bit RGB formats

We have implicitly been not advertising these formats since we had them
turned off in the format capabilities table.  We are about to update that
table and this prevents a change in behavior.  The only change in behavior
created by this patch is that we no longer advertise support for
R16G16B16_FLOAT which means that it's now renderable which seems like a
bonus.  Maybe someday we'll want to change things to start supporting
16-bit RGB formats natively but, at the moment, there's no need.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/drivers/dri/i965/brw_surface_formats.c