On Wed 19 Aug 2015, Nanley Chery wrote: > From: Nanley Chery <nanley.g.ch...@intel.com> > > Only uncompressed formats have a non-void type and actual components per > pixel. > Rename _mesa_format_to_type_and_comps to > _mesa_uncompressed_format_to_type_and_comps and require callers to check if > the format is not compressed. > > v2. include compressed format cases to avoid gcc warnings. > > Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com> > --- > src/mesa/main/format_utils.c | 2 +- > src/mesa/main/formats.c | 89 > +++++++++++++++++++++----------------------- > src/mesa/main/formats.h | 2 +- > src/mesa/main/mipmap.c | 2 +- > 4 files changed, 46 insertions(+), 49 deletions(-)
Patch 1/2 is Reviewed-by: Chad Versace <chad.vers...@intel.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev