mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-05 21:44:24 +00:00
Make sure dummy infos are unwrapped
This commit is contained in:
1 parent
6e2a8344ce
commit
2e291638a4
1 file changed
+2
-2
@@ -1649,7 +1649,7 @@ VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver, VkDevice dev)
|
||||
m_TexDisplayDummyWrites[index].pBufferInfo = NULL;
|
||||
m_TexDisplayDummyWrites[index].pTexelBufferView = NULL;
|
||||
|
||||
m_TexDisplayDummyInfos[index].sampler = m_PointSampler;
|
||||
m_TexDisplayDummyInfos[index].sampler = Unwrap(m_PointSampler);
|
||||
m_TexDisplayDummyInfos[index].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
|
||||
|
||||
index++;
|
||||
@@ -1702,7 +1702,7 @@ VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver, VkDevice dev)
|
||||
vkr = m_pDriver->vkCreateImageView(dev, &viewInfo, NULL, &m_TexDisplayDummyImageViews[index]);
|
||||
RDCASSERTEQUAL(vkr, VK_SUCCESS);
|
||||
|
||||
m_TexDisplayDummyInfos[index].imageView = m_TexDisplayDummyImageViews[index];
|
||||
m_TexDisplayDummyInfos[index].imageView = Unwrap(m_TexDisplayDummyImageViews[index]);
|
||||
|
||||
// need to update image layout into valid state
|
||||
VkImageMemoryBarrier barrier = {
|
||||
|
||||
Reference in new issue
Block a user