[Piglit] [PATCH] ext_texture_integer: All packed formats require ARB_texture_rgb10_a2ui
Dave Airlie
airlied at gmail.com
Thu Jan 5 06:54:47 PST 2012
On Thu, Jan 5, 2012 at 12:25 AM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Dave Airlie <airlied at redhat.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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list