1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[dxvk] Silence validation error about invalid shaders

Known validation bug that is already fixed upstream, but this makes
validation layers unusable due to how spammy that is.
This commit is contained in:
Philip Rebohle 2024-10-07 18:25:28 +02:00 committed by Philip Rebohle
parent df60a061a4
commit 0f6f543583

View File

@ -330,7 +330,7 @@ namespace dxvk {
case VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT: logLevel = LogLevel::Error; break;
}
static const std::array<uint32_t, 8> ignoredIds = {
static const std::array<uint32_t, 9> ignoredIds = {
// Ignore image format features for depth-compare instructions.
// These errors are expected in D3D9 and some D3D11 apps.
0x23259a0d,
@ -344,6 +344,8 @@ namespace dxvk {
0x151f5e5a,
0x6c16bfb4,
0xd6d77e1e,
// Ignore spam about OpSampledImage, validation is wrong here.
0xa5625282,
};
for (auto id : ignoredIds) {