summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_utils.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-01-13 08:33:19 +0100
committerIago Toral Quiroga <[email protected]>2015-01-14 07:57:31 +0100
commitc6a2628950202d0792b58e4d7b4d574b6051bdf6 (patch)
tree9f622502d4b7ecca7ff318a20e5ee7d0ec9e06e3 /src/mesa/main/format_utils.h
parentae417957e04f5f52ac1a15f27c153bc2b426d7dd (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/format_utils.h')
-rw-r--r--src/mesa/main/format_utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/format_utils.h b/src/mesa/main/format_utils.h
index b588695de0c..8f92a09ffc3 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))