On Tue, May 19, 2015 at 5:48 PM, Nanley Chery <nanleych...@gmail.com> wrote: > From: Nanley Chery <nanley.g.ch...@intel.com> > > Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com> > --- > src/mesa/main/format_info.py | 2 ++ > src/mesa/main/formats.c | 29 +++++------------------------ > 2 files changed, 7 insertions(+), 24 deletions(-) > > diff --git a/src/mesa/main/format_info.py b/src/mesa/main/format_info.py > index 40104a2..8134e8e 100644 > --- a/src/mesa/main/format_info.py > +++ b/src/mesa/main/format_info.py > @@ -191,6 +191,8 @@ for fmat in formats: > bits = [ get_channel_bits(fmat, name) for name in ['l', 'i', 'z', 's']] > print ' {0},'.format(', '.join(map(str, bits))) > > + print ' {0:d},'.format(fmat.colorspace == 'srgb') > + > print ' {0}, {1}, {2},'.format(fmat.block_width, fmat.block_height, > int(fmat.block_size() / 8)) > > diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c > index 25606f9..3ee9aa7 100644 > --- a/src/mesa/main/formats.c > +++ b/src/mesa/main/formats.c > @@ -65,6 +65,9 @@ struct gl_format_info > GLubyte DepthBits; > GLubyte StencilBits; > > +
Extra newline. > + GLboolean IsSRGBFormat; > + > /** > * To describe compressed formats. If not compressed, Width=Height=1. > */ _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev