Skip to content

Commit 5580a7f

Browse files
committed
Update NMS's DLSS workaround on AMD
1 parent 81a2bd0 commit 5580a7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

OptiScaler/hooks/HooksVk.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ static void hkvkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStag
102102
// Those are already in the correct layouts
103103
if (imageMemoryBarrierCount == 4)
104104
{
105+
// In the Voyagers update, the 2nd oldLayout has changed
105106
if (pImageMemoryBarriers[0].oldLayout == VK_IMAGE_LAYOUT_UNDEFINED &&
106-
pImageMemoryBarriers[1].oldLayout == VK_IMAGE_LAYOUT_UNDEFINED &&
107+
// pImageMemoryBarriers[1].oldLayout == VK_IMAGE_LAYOUT_UNDEFINED &&
107108
pImageMemoryBarriers[2].oldLayout == VK_IMAGE_LAYOUT_UNDEFINED &&
108109
pImageMemoryBarriers[3].oldLayout == VK_IMAGE_LAYOUT_UNDEFINED)
109110
{

0 commit comments

Comments
 (0)