From 76a8914d6b818b68e95ca420023ad1d00d1ec78d Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Wed, 9 Jun 2021 21:24:05 +0200 Subject: [PATCH] vkd3d: Add validation error workaround. Our internal copy shaders are fine, but we get benign errors about sample count being wrong since we alias descriptors. Signed-off-by: Hans-Kristian Arntzen --- libs/vkd3d/device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c index 2e0f8e12..fd812849 100644 --- a/libs/vkd3d/device.c +++ b/libs/vkd3d/device.c @@ -354,6 +354,7 @@ static VkBool32 VKAPI_PTR vkd3d_debug_messenger_callback( * - Map memory, likely validation layer bug due to memory alloc flags. * - Pipeline layout limits on NV which are not relevant here. * - SPV_EXT_buffer_device_address shenanigans (need to fix glslang). + * - Sample count mismatch in fallback copy shaders. */ unsigned int i; static const uint32_t ignored_ids[] = { @@ -363,6 +364,7 @@ static VkBool32 VKAPI_PTR vkd3d_debug_messenger_callback( 0x96f03c1cu, 0x8189c842u, 0x3d492883u, + 0x1608dec0u, }; for (i = 0; i < ARRAY_SIZE(ignored_ids); i++)