Commit f26fbd08 authored by Ian Romanick's avatar Ian Romanick
Browse files

ext_texture_integer: All packed formats require ARB_texture_rgb10_a2ui


Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
parent 9ec4f254
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment