mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 11:52:12 +01:00
[d3d11] Manually discard swap chain image view on present
This commit is contained in:
parent
73a06aea72
commit
ab3de5e94b
@ -316,6 +316,7 @@ namespace dxvk {
|
||||
renderTargets.color[0].view = m_imageViews.at(imageIndex);
|
||||
renderTargets.color[0].layout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
|
||||
m_context->bindRenderTargets(renderTargets);
|
||||
m_context->discardImageView(m_imageViews.at(imageIndex), VK_IMAGE_ASPECT_COLOR_BIT);
|
||||
|
||||
VkViewport viewport;
|
||||
viewport.x = 0.0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user