mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Add new input attachment swapchain usage
This commit is contained in:
parent
ae07036324
commit
b64d683f6e
3
doc/changes/xrt/mr.459.md
Normal file
3
doc/changes/xrt/mr.459.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Add `XRT_SWAPCHAIN_USAGE_INPUT_ATTACHMENT` flag to `xrt_swapchain_usage_bits`
|
||||
so that a client can create a Vulkan swapchain that can be used as input
|
||||
attachment.
|
|
@ -72,7 +72,8 @@ enum xrt_swapchain_usage_bits
|
|||
XRT_SWAPCHAIN_USAGE_TRANSFER_SRC = 0x00000008,
|
||||
XRT_SWAPCHAIN_USAGE_TRANSFER_DST = 0x00000010,
|
||||
XRT_SWAPCHAIN_USAGE_SAMPLED = 0x00000020,
|
||||
XRT_SWAPCHAIN_USAGE_MUTABLE_FORMAT = 0x00000040
|
||||
XRT_SWAPCHAIN_USAGE_MUTABLE_FORMAT = 0x00000040,
|
||||
XRT_SWAPCHAIN_USAGE_INPUT_ATTACHMENT = 0x00000080,
|
||||
};
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in a new issue