1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 01:54:16 +01:00

[dxvk] Disable image format list

Causes rendering issues in Far Cry 4.
This commit is contained in:
Philip Rebohle 2018-07-05 22:49:30 +02:00
parent 357a75eb88
commit 04d7f2896a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -23,9 +23,11 @@ namespace dxvk {
formatList.viewFormatCount = createInfo.viewFormatCount;
formatList.pViewFormats = createInfo.viewFormats;
// FIXME enable the image format list. We cannot
// currently use this because of regressions.
VkImageCreateInfo info;
info.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO;
info.pNext = &formatList;
info.pNext = nullptr;
info.flags = createInfo.flags;
info.imageType = createInfo.type;
info.format = createInfo.format;