Open Ralith opened 5 years ago
WG response: The answer is XR_ERROR_VALIDATION_FAILURE
- in nearly all cases, the runtime is required to check valid usage conditions (unlike vulkan), and if an error is not called out in the spec by name, validation failure is the "fallback".
I have opened internal issue 1235 for this topic.
[KHR:openxr/openxr#1235]
None of the error cases described in
xrEndFrame
unambiguously cover this, thoughXR_ERROR_SWAPCHAIN_RECT_INVALID
seems like a good bet. Maybe add "or on an array layer that doesn't exist" to the description of that error?