From 084969135b08129f2f262ed0c98610bb6ad3dd11 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Tue, 16 Aug 2022 12:32:32 +0000 Subject: [PATCH] [d3d9] Only set feedback loop usage on textures, not plain surfaces --- src/d3d9/d3d9_common_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_common_texture.cpp b/src/d3d9/d3d9_common_texture.cpp index a1a0ac0a5..55b7182d9 100644 --- a/src/d3d9/d3d9_common_texture.cpp +++ b/src/d3d9/d3d9_common_texture.cpp @@ -305,7 +305,7 @@ namespace dxvk { | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; } - if ((isRT || isDS) && hasAttachmentFeedbackLoops) + if (ResourceType == D3DRTYPE_TEXTURE && (isRT || isDS) && hasAttachmentFeedbackLoops) imageInfo.usage |= VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT; if (ResourceType == D3DRTYPE_CUBETEXTURE)