[Piglit] [PATCH 1/2] fbo-formats: Fix the base internal format for GL_RGB_SNORM

Ilia Mirkin imirkin at alum.mit.edu
Thu Nov 12 08:01:01 PST 2015


On Thu, Nov 12, 2015 at 10:51 AM, Neil Roberts <neil at linux.intel.com> wrote:
> ---
>  tests/fbo/fbo-formats.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/fbo/fbo-formats.h b/tests/fbo/fbo-formats.h
> index 655d149..d73e282 100644
> --- a/tests/fbo/fbo-formats.h
> +++ b/tests/fbo/fbo-formats.h
> @@ -274,7 +274,7 @@ static const struct format_desc ext_texture_snorm[] = {
>          FORMAT(GL_R8_SNORM, GL_RED),
>          FORMAT(GL_RG_SNORM, GL_RG),
>          FORMAT(GL_RG8_SNORM, GL_RG),
> -        FORMAT(GL_RGB_SNORM, GL_RG),
> +        FORMAT(GL_RGB_SNORM, GL_RGB),

Wow, RGB and RG8 sure look alike!

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

>          FORMAT(GL_RGB8_SNORM, GL_RGB),
>          FORMAT(GL_RGBA_SNORM, GL_RGBA),
>          FORMAT(GL_RGBA8_SNORM, GL_RGBA),
> --
> 1.9.3
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list