mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Only set feedback loop usage on textures, not plain surfaces
This commit is contained in:
parent
cf9e217e7b
commit
084969135b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue