[d3d9] Fix OptimizeLayout with feedback loop usage.

We kind of need dcc on GFX8/9.
This commit is contained in:
Georg Lehmann 2022-10-29 10:33:53 +02:00 committed by Robin Kertels
parent cd21cd7fa3
commit bc31ebe151
1 changed files with 3 additions and 1 deletions

View File

@ -485,8 +485,10 @@ namespace dxvk {
// Filter out unnecessary flags. Transfer operations
// are handled by the backend in a transparent manner.
// Feedback loops are handled by hazard tracking.
Usage &= ~(VK_IMAGE_USAGE_TRANSFER_DST_BIT
| VK_IMAGE_USAGE_TRANSFER_SRC_BIT);
| VK_IMAGE_USAGE_TRANSFER_SRC_BIT
| VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT);
// Ignore sampled bit in case the image was created with
// an image flag that only allows attachment usage