[d3d9] Only set feedback loop usage on textures, not plain surfaces

This commit is contained in:
Joshua Ashton 2022-08-16 12:32:32 +00:00
parent cf9e217e7b
commit 084969135b
1 changed files with 1 additions and 1 deletions

View File

@ -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)