Summary: | dEQP-EGL: Got EGL_BAD_MATCH: eglCreateSyncKHR() | ||
---|---|---|---|
Product: | Mesa | Reporter: | Randy <randy.xu> |
Component: | EGL | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 98315 |
Description
Randy
2016-10-20 06:38:44 UTC
All of these tests start to pass if I remove the ctx check in _eglCreateSync(). In the cases _eglGetCurrentContext() returns NULL, it needs to be checked if thats valid condition. commit 6bf6fcfcd9a916530bfbd47351bd1f0df47c4a3d Author: Tapani Pälli <tapani.palli@intel.com> Date: Tue Oct 25 11:29:53 2016 +0300 egl: fix error handling in _eglCreateSync EGL specification requires context to be current only when sync type matches EGL_SYNC_FENCE_KHR. Fixes 25 failing dEQP tests: dEQP-EGL.functional.reusable_sync.* Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98339 Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.