summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/util/u_debug.c2
-rw-r--r--src/gallium/include/pipe/p_format.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c
index 4821b8a143..7e1c5a9b03 100644
--- a/src/gallium/auxiliary/util/u_debug.c
+++ b/src/gallium/auxiliary/util/u_debug.c
@@ -396,6 +396,8 @@ static const struct debug_named_value pipe_format_names[] = {
DEBUG_NAMED_VALUE(PIPE_FORMAT_DXT1_SRGBA),
DEBUG_NAMED_VALUE(PIPE_FORMAT_DXT3_SRGBA),
DEBUG_NAMED_VALUE(PIPE_FORMAT_DXT5_SRGBA),
+ DEBUG_NAMED_VALUE(PIPE_FORMAT_R32_1111_FLOAT),
+ DEBUG_NAMED_VALUE(PIPE_FORMAT_R32G32_1111_FLOAT),
#endif
DEBUG_NAMED_VALUE_END
};
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index 2894e13e7d..e2beaa139c 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -162,6 +162,9 @@ enum pipe_format {
PIPE_FORMAT_DXT3_SRGBA = 108,
PIPE_FORMAT_DXT5_SRGBA = 109,
+ PIPE_FORMAT_R32_1111_FLOAT = 110,
+ PIPE_FORMAT_R32G32_1111_FLOAT = 111,
+
PIPE_FORMAT_COUNT
};