[Piglit] [PATCH 04/10] arb_internalformat_query/api-errors: SNORM is color-renderable, RGB9_E5 isn't

Marek Olšák maraeo at gmail.com
Sat Mar 15 09:53:45 PDT 2014


From: Marek Olšák <marek.olsak at amd.com>

---
 tests/spec/arb_internalformat_query/api-errors.c | 25 +-----------------------
 1 file changed, 1 insertion(+), 24 deletions(-)

diff --git a/tests/spec/arb_internalformat_query/api-errors.c b/tests/spec/arb_internalformat_query/api-errors.c
index f66f7cf..6381362 100644
--- a/tests/spec/arb_internalformat_query/api-errors.c
+++ b/tests/spec/arb_internalformat_query/api-errors.c
@@ -121,30 +121,6 @@ static const GLenum invalid_formats[] = {
 	GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT,
 	GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT,
 	GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT,
-	GL_RED_SNORM,
-	GL_RG_SNORM,
-	GL_RGB_SNORM,
-	GL_RGBA_SNORM,
-	GL_R8_SNORM,
-	GL_RG8_SNORM,
-	GL_RGB8_SNORM,
-	GL_RGBA8_SNORM,
-	GL_R16_SNORM,
-	GL_RG16_SNORM,
-	GL_RGB16_SNORM,
-	GL_RGBA16_SNORM,
-	GL_ALPHA_SNORM,
-	GL_LUMINANCE_SNORM,
-	GL_LUMINANCE_ALPHA_SNORM,
-	GL_INTENSITY_SNORM,
-	GL_ALPHA8_SNORM,
-	GL_LUMINANCE8_SNORM,
-	GL_LUMINANCE8_ALPHA8_SNORM,
-	GL_INTENSITY8_SNORM,
-	GL_ALPHA16_SNORM,
-	GL_LUMINANCE16_SNORM,
-	GL_LUMINANCE16_ALPHA16_SNORM,
-	GL_INTENSITY16_SNORM,
 	GL_YCBCR_MESA,
 	GL_GREEN_INTEGER_EXT,
 	GL_BLUE_INTEGER_EXT,
@@ -155,6 +131,7 @@ static const GLenum invalid_formats[] = {
 	GL_BGRA_INTEGER_EXT,
 	GL_LUMINANCE_INTEGER_EXT,
 	GL_LUMINANCE_ALPHA_INTEGER_EXT,
+	GL_RGB9_E5
 };
 
 static const GLenum valid_pnames[] = {
-- 
1.8.3.2



More information about the Piglit mailing list