[Impeller] Don't suppress outdated validation error. (flutter/engine#50568)

We build our own validation layers. So this should no longer be an issue.
This commit is contained in:
Chinmay Garde 2024-02-12 14:42:21 -08:00 committed by GitHub
parent 2416280285
commit 6f01f71b03

View File

@ -111,14 +111,6 @@ DebugReportVK::Result DebugReportVK::OnDebugCallback(
return Result::kContinue;
}
// Issue in older versions of the SDK.
// https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/3554
if (data->pMessageIdName != nullptr &&
strstr(data->pMessageIdName, "CoreValidation-Shader-OutputNotConsumed") !=
nullptr) {
return Result::kContinue;
}
// This is a real error but we can't fix it due to our headers being too
// old. More more details see:
// https://vulkan.lunarg.com/doc/view/1.3.224.1/mac/1.3-extensions/vkspec.html#VUID-VkImageViewCreateInfo-imageViewFormatSwizzle-04465