Skip to main content
romanshuvalov
New Participant
November 10, 2021

maxSwapchainSampleCount is 1 on Quest 2? No multisample swapchain images?

  • November 10, 2021
  • 6 replies
  • 4924 views

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 to create multisample swapchain images (XrSwapchainCreateInfo.sampleCount must be 1). Is that correct? So, the only option is to render to other multisample framebuffer, then do `blit` to swapchain image?

6 replies

Participant
November 12, 2021

I'm using 2 samples without any problems in my app.  4 works too.

romanshuvalov
New Participant
November 12, 2021

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)

Participant
November 12, 2021

I'm using native OpenXR via Rust wrapper.  maxSwapchainSampleCount equals 1.

Inspiring
January 26, 2023

I can confirm that maxSwapchainSampleCount is still reporting 1! While I recognize that I could ignore this value, I'd prefer that it report an accurate value. Any chance we can we get the dev team to fix this?