[Piglit] [PATCH] fbo-getframebufferattachmentparameter-01: fix for a test failure
Sandra Koroniewska
sandra.koroniewska at gmail.com
Wed Apr 12 14:21:21 UTC 2017
This fixes the test fbo-getframebufferattachmentparameter-01 on Intel OpenGL driver. The test is expecting GL_INVALID_OPERATION in some cases, but this behaviour is problematic and is not mentioned in the specification.
---
tests/fbo/fbo-getframebufferattachmentparameter-01.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/fbo/fbo-getframebufferattachmentparameter-01.c b/tests/fbo/fbo-getframebufferattachmentparameter-01.c
index e365d5fa0..3cc5699e6 100644
--- a/tests/fbo/fbo-getframebufferattachmentparameter-01.c
+++ b/tests/fbo/fbo-getframebufferattachmentparameter-01.c
@@ -127,7 +127,7 @@ piglit_init(int argc, char **argv)
pass = try_GetAttachmentParam(GL_DEPTH_ATTACHMENT,
GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE,
0,
- GL_INVALID_OPERATION,
+ GL_NONE,
"")
&& pass;
pass = try_GetAttachmentParam(GL_DEPTH_ATTACHMENT,
@@ -147,7 +147,7 @@ piglit_init(int argc, char **argv)
pass = try_GetAttachmentParam(GL_DEPTH_ATTACHMENT,
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,
0,
- GL_INVALID_OPERATION,
+ GL_NONE,
"")
&& pass;
--
2.11.0.windows.1
More information about the Piglit
mailing list