https://bugs.freedesktop.org/show_bug.cgi?id=91044
Bug ID: 91044
Summary: piglit spec/egl_khr_create_context/valid debug flag
gles* fail
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: EGL
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
When running piglit test on egl_x11 platform, I accidentally noticed that
piglit test spec/egl_khr_create_context/valid debug flag gles{1,2,3} fail. The
reason is that mesa EGL gives unexpected EGL_BAD_ATTRIBUTE. Digging into the
EGL code, I found libEGL will give EGL_BAD_ATTRIBUTE when setting
EGL_CONTEXT_FLAGS_KHR in non-OpenGL contexts (including OpenGL ES context),
with the quote in comment:
/* The EGL_KHR_create_context spec says:
*
* "Flags are only defined for OpenGL context creation, and
* specifying a flags value other than zero for other types of
* contexts, including OpenGL ES contexts, will generate an
* error."
*/
However, I can't find the words quoted in the present EGL_KHR_create_context
spec. On the other hand, it allows creating debug context in OpenGL ES (i.e.
setting EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR in EGL_CONTEXT_FLAGS_KHR).
Should we just remove the non-OpenGL check or just allow
EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR in OpenGL ES context?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev