1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-01 10:54:14 +01:00

[dxvk] Fixed depth image layout regression

This commit is contained in:
Philip Rebohle 2018-03-16 01:05:30 +01:00
parent eb8ae5cc82
commit 9b3908823a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1479,7 +1479,7 @@ namespace dxvk {
DxvkAttachment depthAttachment;
if (bindPoint == VK_PIPELINE_BIND_POINT_GRAPHICS && m_state.om.framebuffer != nullptr)
DxvkAttachment depthAttachment = m_state.om.framebuffer->renderTargets().getDepthTarget();
depthAttachment = m_state.om.framebuffer->renderTargets().getDepthTarget();
for (uint32_t i = 0; i < layout->bindingCount(); i++) {
const auto& binding = layout->binding(i);