util: Add missing format names.
authorMichal Krol <michal@tungstengraphics.com>
Thu, 19 Jun 2008 12:06:28 +0000 (14:06 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Thu, 19 Jun 2008 12:08:06 +0000 (14:08 +0200)
src/gallium/auxiliary/util/p_debug.c

index e4de12167a3dc2f26190e2a85b9e5d221aecec56..9d56f8bfabf2338ef03a92c725c0d96c857d0560 100644 (file)
@@ -366,6 +366,7 @@ static const struct debug_named_value pipe_format_names[] = {
    DEBUG_NAMED_VALUE(PIPE_FORMAT_A1R5G5B5_UNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_A4R4G4B4_UNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R5G6B5_UNORM),
+   DEBUG_NAMED_VALUE(PIPE_FORMAT_A2B10G10R10_UNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_L8_UNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_A8_UNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_I8_UNORM),
@@ -436,6 +437,9 @@ static const struct debug_named_value pipe_format_names[] = {
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8B8_SNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8B8A8_SNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8B8X8_SNORM),
+   DEBUG_NAMED_VALUE(PIPE_FORMAT_B6G5R5_SNORM),
+   DEBUG_NAMED_VALUE(PIPE_FORMAT_A8B8G8R8_SNORM),
+   DEBUG_NAMED_VALUE(PIPE_FORMAT_X8B8G8R8_SNORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8_SSCALED),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8_SSCALED),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8B8_SSCALED),
@@ -446,6 +450,8 @@ static const struct debug_named_value pipe_format_names[] = {
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8B8_SRGB),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8B8A8_SRGB),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_R8G8B8X8_SRGB),
+   DEBUG_NAMED_VALUE(PIPE_FORMAT_X8UB8UG8SR8S_NORM),
+   DEBUG_NAMED_VALUE(PIPE_FORMAT_B6UG5SR5S_NORM),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_DXT1_RGB),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_DXT1_RGBA),
    DEBUG_NAMED_VALUE(PIPE_FORMAT_DXT3_RGBA),