mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 00:03:42 +00:00
Specify SHADER_READ_ONLY_OPTIMAL layout for images in RenderTexture
This commit is contained in:
1 parent
7e24b78586
commit
8983e67dc2
1 file changed
+1
-1
@@ -1309,7 +1309,7 @@ bool VulkanReplay::RenderTextureInternal(TextureDisplay cfg, VkRenderPassBeginIn
|
||||
GetDebugManager()->m_TexDisplayUBO.Unmap();
|
||||
|
||||
VkDescriptorImageInfo imdesc = {0};
|
||||
imdesc.imageLayout = VK_IMAGE_LAYOUT_GENERAL;
|
||||
imdesc.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
|
||||
imdesc.imageView = Unwrap(liveImView);
|
||||
imdesc.sampler = Unwrap(GetDebugManager()->m_PointSampler);
|
||||
if(cfg.mip == 0 && cfg.scale < 1.0f)
|
||||
|
||||
Reference in new issue
Block a user