mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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;
|
DxvkAttachment depthAttachment;
|
||||||
|
|
||||||
if (bindPoint == VK_PIPELINE_BIND_POINT_GRAPHICS && m_state.om.framebuffer != nullptr)
|
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++) {
|
for (uint32_t i = 0; i < layout->bindingCount(); i++) {
|
||||||
const auto& binding = layout->binding(i);
|
const auto& binding = layout->binding(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user