[Piglit] [PATCH] gl-3.2: fix layered-rendering test
Mark Janes
mark.a.janes at intel.com
Tue Aug 18 13:48:40 PDT 2015
Tested-by: Mark Janes <mark.a.janes at intel.com>
Timothy Arceri <t_arceri at yahoo.com.au> writes:
> Samples must be greater than 0 and color formats must match.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91670
> ---
> tests/spec/gl-3.2/layered-rendering/framebuffertexture.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/spec/gl-3.2/layered-rendering/framebuffertexture.c b/tests/spec/gl-3.2/layered-rendering/framebuffertexture.c
> index d6eef1e..88599de 100644
> --- a/tests/spec/gl-3.2/layered-rendering/framebuffertexture.c
> +++ b/tests/spec/gl-3.2/layered-rendering/framebuffertexture.c
> @@ -137,10 +137,10 @@ create_bind_texture(GLenum textureType) {
> }
> break;
> case GL_TEXTURE_2D_MULTISAMPLE:
> - glTexImage2DMultisample(textureType, 0, GL_RGB, 6, 6, GL_FALSE);
> + glTexImage2DMultisample(textureType, 1, GL_RGBA, 6, 6, GL_FALSE);
> break;
> case GL_TEXTURE_2D_MULTISAMPLE_ARRAY:
> - glTexImage3DMultisample(textureType, 0, GL_RGB,
> + glTexImage3DMultisample(textureType, 1, GL_RGBA,
> 6, 6, 6, GL_FALSE);
> break;
> }
> --
> 2.4.3
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list