Add OpenXR CTS test for API layer pre-create operations#94
Add OpenXR CTS test for API layer pre-create operations#94johnkearney wants to merge 1 commit intoKhronosGroup:develfrom
Conversation
OpenXR API Layers may need to query other layers or the runtime before the instance has been created - add an explicit test for this case.
|
@fredemmott I've copied the CTS test that I've been working on in the working group gitlab here in case you happen to have views on how it should be implemented. I see your existing loader spec change: KhronosGroup/OpenXR-SDK-Source#490 and OpenXR spec change: KhronosGroup/OpenXR-Docs#173 which seem to be connected to this; and the recent bug in Meta PC v68 release. |
|
Thanks; I’ll take a look through when I can. Those PRs are really the easy half of the problem: I see them as only clarifying behavior that is already required by various parts of the spec. I think the behavior that the loader spec requires for xrEnumerateApiLayerProperties is incorrect, and needs to be similar to instance extensions ; I just wanted to put up the less controversial PRs first |
|
It would be useful to check Given the values can change at runtime according to the spec, there isn't a correct before-and-after set of values that applies generically, but it would be good to test it works. It would be good to preemptively add a similar test for The spec issue for
Say you have
I believe that 3 is undesirable and surprising behavior; instead, layer A should be able to see both layer B and layer C. The spec should be changed (and I'm happy to create PRs) to be more similar to the
|
|
A revised version of this PR has been merged internally. |
|
That revised version is now released. |
OpenXR API Layers may need to query other layers or the runtime before the instance has been created - add an explicit test for this case.
This is an external mirror of https://gitlab.khronos.org/openxr/openxr/-/merge_requests/3415