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 <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2021-06-09 21:24:05 +02:00
parent abe0995e88
commit 76a8914d6b
1 changed files with 2 additions and 0 deletions

View File

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