[Piglit] [PATCH] ext_texture_integer: All packed formats require ARB_texture_rgb10_a2ui
Ian Romanick
idr at freedesktop.org
Wed Jan 4 16:25:20 PST 2012
From: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
.../ext_texture_integer/texture-integer-glsl130.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tests/spec/ext_texture_integer/texture-integer-glsl130.c b/tests/spec/ext_texture_integer/texture-integer-glsl130.c
index 86e981d..c368bbf 100644
--- a/tests/spec/ext_texture_integer/texture-integer-glsl130.c
+++ b/tests/spec/ext_texture_integer/texture-integer-glsl130.c
@@ -508,6 +508,12 @@ test_specific_formats(void)
while (glGetError() != GL_NO_ERROR)
;
+ /* All of the packed formats require GL_ARB_texture_rgb10_a2ui.
+ */
+ if (!piglit_is_extension_supported("GL_ARB_texture_rgb10_a2ui")) {
+ return GL_TRUE;
+ }
+
for (i = 0; i < ARRAY_SIZE(formats); i++) {
glTexImage2D(GL_TEXTURE_2D, 0, formats[i].intFormat,
16, 16, 0,
--
1.7.6.4
More information about the Piglit
mailing list