Forum Discussion
dmikis
4 years agoExplorer
Oculus PC Runtime doesn't seem to respect XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT
When I'm creating `xrSwapchain` with usage `XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT
| XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT`, but when I try to create views for swapchain images with different (yet compatible) format, Vulkan validation layers give an error `VUID-VkImageViewCreateInfo-image-01019`, `Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation.`. It seems Oculus OpenXR Runtime doesn't take into account MUTABLE_FORMAT_BIT when creating swapchain images.
Thanks dmikis - this looks like an unintended omission. I'll look at getting this implemented in an upcoming release.
3 Replies
- johnkearneyMeta Employee
Thanks dmikis - this looks like an unintended omission. I'll look at getting this implemented in an upcoming release.
- dmikisExplorer
johnkearneyAlso, I think similar problem is present on Android runtime as well.
- johnkearneyMeta Employee
Thanks dmikis - we will get this implemented in an upcoming Android runtime release too - (at this point it will likely be v41)
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
- 4 years ago
- 3 years ago