Open fredemmott opened 3 weeks ago
Thanks Fred, there was a big rework of swapchains between the last 2 versions, something probably broke there in spite of my testing.
No problem - is this something that is or should be in the conformance tests?
There are tests and I ran them in addition to additional custom tests. Some of these tests specifically target stateless. I'll have to see once I look into the issue and figure out what/where the gap could be.
ANY ISSUE FILED WITHOUT THE INFORMATION REQUIRED BELOW WILL BE CLOSED WITHOUT BEING LOOKED AT. NO EXCEPTIONS.
Describe the bug
Some quad layers (e.g. OpenKneeboard) only update their swap chain when the contents has changed; this is permitted by the spec, but not handled correctly by VDXR. This leads to things going backwards, or visual artifacts.
OpenXR.log
Environment
hello_xr -G D3D11
from OpenXR SDK v1.0.30To Reproduce
The most visible way:
hello_xr -G D3D11
This can be resolved by turning on Settings -> Advanced -> Compatibility Quirks -> OpenXR: Always update swapchains
Expected behavior
In terms of repro steps for very visible behavior, opacity should reliably change when looking at layer or not
In terms of VDXR behavior, VDXR should handle layers that re-use the same swapchain image for multiple frames.
Original report in OpenKneeboard discord: https://discord.com/channels/807359994856996915/1249705742785843252