[Mesa-dev] [PATCH] mesa: fix type-P format examples to match actual formats
Marek Olšák
maraeo at gmail.com
Wed Mar 19 04:45:25 PDT 2014
Are these comments really needed considering the format names are
self-explanatory?
Marek
On Wed, Mar 19, 2014 at 10:34 AM, Chris Forbes <chrisf at ijw.co.nz> wrote:
> The comments for the actual formats were fixed a while ago,
> but the examples at the top were not, which was confusing.
>
> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
> ---
> src/mesa/main/formats.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
> index 3079f03..0ca495e 100644
> --- a/src/mesa/main/formats.h
> +++ b/src/mesa/main/formats.h
> @@ -114,9 +114,9 @@ typedef enum
> * ** when type applies to all components
> *
> * examples: msb <------ TEXEL BITS -----------> lsb
> - * MESA_FORMAT_A8B8G8R8_UNORM, AAAA AAAA BBBB BBBB GGGG GGGG RRRR RRRR
> - * MESA_FORMAT_R5G6B5_UNORM RRRR RGGG GGGB BBBB
> - * MESA_FORMAT_B4G4R4X4_UNORM BBBB GGGG RRRR XXXX
> + * MESA_FORMAT_A8B8G8R8_UNORM, RRRR RRRR GGGG GGGG BBBB BBBB AAAA AAAA
> + * MESA_FORMAT_R5G6B5_UNORM BBBB BGGG GGGR RRRR
> + * MESA_FORMAT_B4G4R4X4_UNORM xxxx RRRR GGGG BBBB
> * MESA_FORMAT_Z32_FLOAT_S8X24_UINT
> * MESA_FORMAT_R10G10B10A2_UINT
> * MESA_FORMAT_R9G9B9E5_FLOAT
> --
> 1.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list