KhronosGroup / OpenXR-Docs

OpenXR Specification sources and related material
Other
144 stars 63 forks source link

FB foveation extensions are missing some useful information #102

Open Slin opened 3 years ago

Slin commented 3 years ago

XR_FB_foveation_vulkan is not clear on what format the image in XrSwapchainImageFoveationVulkanFB has nor provides a way to set or query it. The vulkan specification only says: VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT must be supported for the following formats if the fragment density map feature is enabled: VK_FORMAT_R8G8_UNORM Which I don't think excludes other formats?

Also there is no way to specify the desired foveation profile on swapchain creation, but at the same time I have not found any information on what the default is (I am assuming it's just no foveation at all). When implementing it, it seemed a bit strange that there is no way to unset it, but at the same time it can only be set after the swap-chain creation.

bjornbytes commented 3 years ago

Adding some notes to this:

rpavlik-bot commented 3 years ago

An issue (number 1604) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#1604 ), to facilitate working group processes.

This GitHub issue will continue to be the main site of discussion.

s1ddok commented 1 year ago

I know this is an old issue, but it is the only thing that GitHub search shows me. Did things get better since 2021? I want to implement eye tracked foveated rendering natively, using NDK and Vulkan for Quest Pro and I can't find any info about that in the whole internet. I would appreciate any directions!