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:
parent
eb8ae5cc82
commit
9b3908823a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user