[Impeller] Suppress SPIRV validation errors in latest Vulkan SDK. (flutter/engine#53049)
Workaround for https://github.com/flutter/flutter/issues/149111
This commit is contained in:
@@ -117,6 +117,21 @@ DebugReportVK::Result DebugReportVK::OnDebugCallback(
|
||||
if (data->messageIdNumber == 0x609A13B) {
|
||||
return Result::kContinue;
|
||||
}
|
||||
// TODO(149111): Fix VUID-VkShaderModuleCreateInfo-pCode-08737.
|
||||
if (data->pMessageIdName != nullptr &&
|
||||
strcmp(data->pMessageIdName,
|
||||
"VUID-VkShaderModuleCreateInfo-pCode-08737") == 0) {
|
||||
return Result::kContinue;
|
||||
}
|
||||
// TODO(149111): Fix
|
||||
// VUID-VkPipelineShaderStageCreateInfo-pSpecializationInfo-06849.
|
||||
if (data->pMessageIdName != nullptr &&
|
||||
strcmp(
|
||||
data->pMessageIdName,
|
||||
"VUID-VkPipelineShaderStageCreateInfo-pSpecializationInfo-06849") ==
|
||||
0) {
|
||||
return Result::kContinue;
|
||||
}
|
||||
|
||||
std::vector<std::pair<std::string, std::string>> items;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user