Forum Discussion
romanshuvalov
4 years agoExplorer
maxSwapchainSampleCount is 1 on Quest 2? No multisample swapchain images?
With deprecated Oculus API, it was possible to submit multisample textures. Now, with OpenXR, xrEnumerateViewConfigurationViews() tells that maxSwapchainSampleCount is 1. It means it's impossible...
romanshuvalov
4 years agoExplorer
Using native OpenXR? After xrEnumerateViewConfigurationViews() call, what have you got in ((XrViewConfigurationView) view).maxSwapchainSampleCount?
(I got 4 on PC and 1 on native Quest 2)
a.a.babichev
4 years agoExplorer
I'm using native OpenXR via Rust wrapper. maxSwapchainSampleCount equals 1.
- romanshuvalov4 years agoExplorer
You are right, multisample swapchain is in fact supported (I messed up with glFramebufferTexture2DMultisampleEXT).
However, maxSwapchainSampleCount=1 means we must not set XrSwapchainCreateInfo.sampleCount to values higher than 1. But we can do it and it works. Looks like a bug in API implementation, system should return maxSwapchainSampleCount=4 instead of 1.
- a.a.babichev4 years agoExplorer
I totally agree. Vulkan validation layer doesn't complain that samples count greater than maxSwapchainSampleCount.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 12 years ago
- 10 years ago