On Wed 19 Aug 2015, Nanley Chery wrote: > From: Nanley Chery <[email protected]> > > 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 <[email protected]> > --- > 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 <[email protected]> _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
