KhronosGroup / KhronosGroup/Vulkan-Docs

HWND valid usage underspecified

Open
#511 2 comments 0 reactions 1 assignee Claimed by @alonorbach View on GitHub
Resolving Inside Khronos System Integration
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

The new `VK_KHR_win32_surface` appendix issue 2) discusses bunch of usages that are undefined behavior.

But I don't see those same restrictions raised outside of this non-normative section.

If Vulkan needs `HWND` object in a specific state, then such requirements need to be specified.
Some of it could be `VK_ERROR`. I think e.g. calling `SetPixelFormat` twice fails with proper error code.
Others should be migrated to proper VU section.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.