diff options
author | Iago Toral Quiroga <itoral@igalia.com> | 2015-01-13 08:33:19 +0100 |
---|---|---|
committer | Iago Toral Quiroga <itoral@igalia.com> | 2015-01-14 07:57:31 +0100 |
commit | c6a2628950202d0792b58e4d7b4d574b6051bdf6 (patch) | |
tree | 9f622502d4b7ecca7ff318a20e5ee7d0ec9e06e3 /src/mesa/main/format_utils.h | |
parent | ae417957e04f5f52ac1a15f27c153bc2b426d7dd (diff) | |
download | external_mesa3d-c6a2628950202d0792b58e4d7b4d574b6051bdf6.zip external_mesa3d-c6a2628950202d0792b58e4d7b4d574b6051bdf6.tar.gz external_mesa3d-c6a2628950202d0792b58e4d7b4d574b6051bdf6.tar.bz2 |
mesa: rename RGBA8888_* format constants to something appropriate.
The 8888 suggests 8-bit components which is not correct, so
replace that with the actual size of the components in each
format.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/mesa/main/format_utils.h')
-rw-r--r-- | src/mesa/main/format_utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/format_utils.h b/src/mesa/main/format_utils.h index b588695..8f92a09 100644 --- a/src/mesa/main/format_utils.h +++ b/src/mesa/main/format_utils.h @@ -34,10 +34,10 @@ #include "imports.h" #include "macros.h" -extern const mesa_array_format RGBA8888_FLOAT; -extern const mesa_array_format RGBA8888_UBYTE; -extern const mesa_array_format RGBA8888_UINT; -extern const mesa_array_format RGBA8888_INT; +extern const mesa_array_format RGBA32_FLOAT; +extern const mesa_array_format RGBA8_UBYTE; +extern const mesa_array_format RGBA32_UINT; +extern const mesa_array_format RGBA32_INT; /* Only guaranteed to work for BITS <= 32 */ #define MAX_UINT(BITS) ((BITS) == 32 ? UINT32_MAX : ((1u << (BITS)) - 1)) |