Skip to content

Debug Marker layer - fix discoverability#13

Merged
olehkuznetsov merged 2 commits into
android-graphics:mainfrom
olehkuznetsov:debug-layer-fix
May 6, 2026
Merged

Debug Marker layer - fix discoverability#13
olehkuznetsov merged 2 commits into
android-graphics:mainfrom
olehkuznetsov:debug-layer-fix

Conversation

@olehkuznetsov
Copy link
Copy Markdown

No description provided.

- Add explicit resolution for `vkGetInstanceProcAddr` and `vkGetDeviceProcAddr` in the `DebugMarker` dispatch table to return themselves when queried.
- Fix `vkEnumerateInstanceExtensionProperties` to return success with 0 extensions for other layers instead of `VK_ERROR_LAYER_NOT_PRESENT`.
- Add `VK_EXT_debug_utils` to the list of device extensions exposed by the `DebugMarker` layer.
- Implement deduplication in `vkEnumerateDeviceExtensionProperties` to avoid returning duplicates if the driver also exposes these extensions.
Add a module definition file (`.def`) for the `DebugMarker` layer to export required symbols (`vkGetInstanceProcAddr`, `vkGetDeviceProcAddr`, `vkEnumerateInstanceLayerProperties`, `vkEnumerateInstanceExtensionProperties`) when building on Windows with MSVC or MinGW.
@olehkuznetsov olehkuznetsov changed the title Debug layer fix Debug Markers layer fix May 6, 2026
@olehkuznetsov olehkuznetsov changed the title Debug Markers layer fix Debug Markers layer - fix May 6, 2026
@olehkuznetsov olehkuznetsov changed the title Debug Markers layer - fix Debug Marker layer - fix discoverability May 6, 2026
@olehkuznetsov olehkuznetsov merged commit eeeb567 into android-graphics:main May 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants