KhronosGroup / VK-GL-CTS

Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
https://www.khronos.org/
Apache License 2.0
525 stars 293 forks source link

Allow EGL 1.5 implementations without GL_KHR_robustness #480

Open rmader opened 2 months ago

rmader commented 2 months ago

Driver may want to expose a minimal implementation of EGL_EXT_create_context_robustness - i.e. a dummy implementation without corresponding GL_KHR_robustness support - in order to support EGL 1.5.

When requesting a context with EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT -> EGL_TRUE on such a driver, it has to create a EGL_BAD_CONFIG error - and unfortunately there's no way to check for GL_KHR_robustness in advance.

Thus handle that case gracefully.


This should allow Mesa to expose 1.5 support for all drivers on all hardware generations.

Related:

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

fooishbar commented 2 months ago

Specifically, this still allows querying of device reset status, without robust buffer access guarantees.

rmader commented 2 months ago

There are a few more places that need to be covered.

rmader commented 2 months ago

Nevermind and sorry for the noise - there were just some more issues in Mesa making tests fail.