GL_RGB32F is available only when texture_buffer_object_rgb32 is supported.
As the test covers different topic simply replace the format with one
that is supported by both core and compat profile and does not require
any extensions.

Cc: Jacob Penner <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
 .../spec/gl-3.2/layered-rendering/framebuffertexture-buffer-textures.c  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/spec/gl-3.2/layered-rendering/framebuffertexture-buffer-textures.c 
b/tests/spec/gl-3.2/layered-rendering/framebuffertexture-buffer-textures.c
index c85e080..331b098 100644
--- a/tests/spec/gl-3.2/layered-rendering/framebuffertexture-buffer-textures.c
+++ b/tests/spec/gl-3.2/layered-rendering/framebuffertexture-buffer-textures.c
@@ -53,7 +53,7 @@ piglit_init(int argc, char **argv)
        glGenTextures(1, &tex);
        glBindTexture(GL_TEXTURE_BUFFER, tex);
 
-       glTexBuffer(GL_TEXTURE_BUFFER, GL_RGB32F, buff);
+       glTexBuffer(GL_TEXTURE_BUFFER, GL_RG32F, buff);
 
        pass = piglit_check_gl_error(GL_NO_ERROR) && pass;
 
-- 
1.9.0

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to