Respect NVIDIA constraints for vulkan encode input
Images can't have mutable flag for vulkan encode on NVIDIA, perform a copy instead, as they allow transfer dst.
This commit is contained in:
@@ -45,6 +45,7 @@ class video_encoder_vulkan : public video_encoder
|
||||
vk::raii::CommandPool transfer_command_pool = nullptr;
|
||||
vk::raii::CommandPool video_command_pool = nullptr;
|
||||
|
||||
image_allocation tmp_image;
|
||||
vk::ImageViewUsageCreateInfo image_view_template_next;
|
||||
vk::ImageViewCreateInfo image_view_template;
|
||||
std::unordered_map<VkImage, vk::raii::ImageView> image_views; // for input images
|
||||
|
||||
Reference in New Issue
Block a user