KhronosGroup / KhronosGroup/Vulkan-Docs
HWND valid usage underspecified
Open
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
Assessment
This issue has not been assessed yet.