doc: Document !1763

This commit is contained in:
Jakob Bornecrantz 2023-04-07 21:40:04 +01:00
parent 585e23054d
commit f0cff9db0c
4 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,2 @@
vk: Refactor `vk_csci_get_image_usage_flags` to not always set the sampled bit
and other bits that where always set. Also tidy with a nice define for checking.

View file

@ -0,0 +1,3 @@
client: Use correct format in get_swapchain_create_properties functions, client
compositors are given their formats, make then translate to Vulkan before
passing on.

View file

@ -0,0 +1,3 @@
client: Respect native compositor's extra usage bits, so we can remove the
hardcoded always sampled bit. This also ensures that images have exactly the
same usages in both the compositor and app.

View file

@ -0,0 +1,4 @@
Extend `xrt_swapchain_create_properties` to allow the main compositor request
extra bits to be used beyond those requested by the OpenXR app. Some compositors
might need extra usage bits set beyond just the constant sampled bit. This also
ensures that images have exactly the same usages in both the compositor and app.