[Mesa-dev] [PATCH 1/1] mesa: tests: EnumStrings.LookUpByNumber

Oliver McFadden oliver.mcfadden at linux.intel.com
Mon Oct 1 16:34:00 PDT 2012


[ RUN      ] EnumStrings.LookUpByNumber
enum_strings.cpp:43: Failure
Value of: _mesa_lookup_enum_by_nr(everything[i].value)
  Actual: "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE"
Expected: everything[i].name
Which is: "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT"
enum_strings.cpp:43: Failure
Value of: _mesa_lookup_enum_by_nr(everything[i].value)
  Actual: "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE"
Expected: everything[i].name
Which is: "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT"
[  FAILED  ] EnumStrings.LookUpByNumber (2 ms)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55505
Signed-off-by: Oliver McFadden <oliver.mcfadden at linux.intel.com>
CC: Ian Romanick <idr at freedesktop.org>
---
 src/mesa/main/tests/enum_strings.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/tests/enum_strings.cpp b/src/mesa/main/tests/enum_strings.cpp
index b9def32..ebb2b17 100644
--- a/src/mesa/main/tests/enum_strings.cpp
+++ b/src/mesa/main/tests/enum_strings.cpp
@@ -824,8 +824,8 @@ const struct enum_info everything[] = {
    { 0x83A3, "GL_RGBA4_S3TC" },
    { 0x83F0, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT" },
    { 0x83F1, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT" },
-   { 0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT" },
-   { 0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT" },
+   { 0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE" },
+   { 0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE" },
    { 0x844D, "GL_NEAREST_CLIPMAP_NEAREST_SGIX" },
    { 0x844E, "GL_NEAREST_CLIPMAP_LINEAR_SGIX" },
    { 0x844F, "GL_LINEAR_CLIPMAP_NEAREST_SGIX" },
-- 
1.7.8.6



More information about the mesa-dev mailing list