Browse Source
[vk] VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL -> VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
pull/3260/head
Caio Oliveira
1 month ago
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
1 additions and
1 deletions
-
src/video_core/renderer_vulkan/blit_image.cpp
|
|
|
@ -592,7 +592,7 @@ void BlitImageHelper::BlitColor(const Framebuffer* dst_framebuffer, VkImageView |
|
|
|
scheduler.RequestOutsideRenderPassOperationContext(); |
|
|
|
scheduler.Record([this, dst_framebuffer, src_image_view, src_image, src_sampler, dst_region, |
|
|
|
src_region, src_size, pipeline, layout](vk::CommandBuffer cmdbuf) { |
|
|
|
TransitionImageLayout(cmdbuf, src_image, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); |
|
|
|
TransitionImageLayout(cmdbuf, src_image, VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL); |
|
|
|
BeginRenderPass(cmdbuf, dst_framebuffer); |
|
|
|
const VkDescriptorSet descriptor_set = one_texture_descriptor_allocator.Commit(); |
|
|
|
UpdateOneTextureDescriptorSet(device, descriptor_set, src_sampler, src_image_view); |
|
|
|
|