ANGLE support for GL_ALPHA_TEST_QCOM

35 views
Skip to first unread message

Abhishek Deshpande

unread,
Feb 17, 2025, 3:43:49 AMFeb 17
to angleproject
Hi,

With Vulkan as a backend, we are running GLES apps on ANGLE.
These apps are performing below extension Op

GL_ALPHA_TEST_QCOM

and it seems that ANGLE crashes while checking above feature/extension enum. 


ERR: State.cpp:1388 (gl::PrivateState::setEnableFeature): ! Assert failed in gl::PrivateState::setEnableFeature (../../src/libANGLE/State.cpp:1388): mClientVersion.major == 1
FATAL: State.cpp:1388 (gl::PrivateState::setEnableFeature): ! Assert failed in gl::PrivateState::setEnableFeature (../../src/libANGLE/State.cpp:1388): mClientVersion.major == 1

Is this expected ?
Any ways to get past this problem ?

Thanks,
Abhishek


PS:
Debugging into ANGLE code tells me that major-minor version is {3,2} and that after this ASSERT, ANGLE is trying to emulate this extension with GLES1, which is a bit odd since this extension was added in GLES 2.0


Shahbaz Youssefi

unread,
Feb 18, 2025, 11:09:33 AMFeb 18
to angleproject
Hi,

ANGLE does not support this extension. The validation for glEnable should have caught this and stopped it from reaching that assert. Does the app perhaps disable GL validation? That would be if the app uses the EGL_CONTEXT_OPENGL_NO_ERROR_KHR attribute.

Reply all
Reply to author
Forward
0 new messages