[Piglit] [PATCH 1/2] util: Include SRGB versions of S3TC in the list of compressed types.
Eric Anholt
eric at anholt.net
Sun Dec 4 15:07:57 PST 2011
---
tests/util/piglit-util-gl.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c
index b743a08..2a88ef5 100644
--- a/tests/util/piglit-util-gl.c
+++ b/tests/util/piglit-util-gl.c
@@ -962,6 +962,10 @@ piglit_rgbw_texture(GLenum format, int w, int h, GLboolean mip,
case GL_COMPRESSED_SIGNED_RED_RGTC1:
case GL_COMPRESSED_RG_RGTC2:
case GL_COMPRESSED_SIGNED_RG_RGTC2:
+ case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT:
+ case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT:
+ case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT:
+ case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT:
if (size == 4)
color = red;
else if (size == 2)
--
1.7.7.3
More information about the Piglit
mailing list