mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[vulkan] Add feedback loop layout to getWritableAspectsForLayout
This commit is contained in:
parent
3c4e85d630
commit
9cf5c648d3
@ -90,6 +90,7 @@ namespace dxvk::vk {
|
||||
|
||||
inline VkImageAspectFlags getWritableAspectsForLayout(VkImageLayout layout) {
|
||||
switch (layout) {
|
||||
case VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT:
|
||||
case VK_IMAGE_LAYOUT_GENERAL:
|
||||
return VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT;
|
||||
case VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL:
|
||||
|
Loading…
Reference in New Issue
Block a user