mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
android: vulkan_debug_callback: Ignore many innocuous errors.
This commit is contained in:
parent
30bf5d5b07
commit
6d2e7de2e0
1 changed files with 28 additions and 0 deletions
|
@ -13,11 +13,39 @@ VkBool32 Callback(VkDebugUtilsMessageSeverityFlagBitsEXT severity,
|
|||
[[maybe_unused]] void* user_data) {
|
||||
// Skip logging known false-positive validation errors
|
||||
switch (static_cast<u32>(data->messageIdNumber)) {
|
||||
#ifdef ANDROID
|
||||
case 0xbf9cf353u: // VUID-vkCmdBindVertexBuffers2-pBuffers-04111
|
||||
// The below are due to incorrect reporting of extendedDynamicState
|
||||
case 0x1093bebbu: // VUID-vkCmdSetCullMode-None-03384
|
||||
case 0x9215850fu: // VUID-vkCmdSetDepthTestEnable-None-03352
|
||||
case 0x86bf18dcu: // VUID-vkCmdSetDepthWriteEnable-None-03354
|
||||
case 0x0792ad08u: // VUID-vkCmdSetStencilOp-None-03351
|
||||
case 0x93e1ba4eu: // VUID-vkCmdSetFrontFace-None-03383
|
||||
case 0xac9c13c5u: // VUID-vkCmdSetStencilTestEnable-None-03350
|
||||
case 0xc9a2001bu: // VUID-vkCmdSetDepthBoundsTestEnable-None-03349
|
||||
case 0x8b7159a7u: // VUID-vkCmdSetDepthCompareOp-None-03353
|
||||
// The below are due to incorrect reporting of extendedDynamicState2
|
||||
case 0xb13c8036u: // VUID-vkCmdSetDepthBiasEnable-None-04872
|
||||
case 0xdff2e5c1u: // VUID-vkCmdSetRasterizerDiscardEnable-None-04871
|
||||
case 0x0cc85f41u: // VUID-vkCmdSetPrimitiveRestartEnable-None-04866
|
||||
case 0x01257b492: // VUID-vkCmdSetLogicOpEXT-None-0486
|
||||
// The below are due to incorrect reporting of vertexInputDynamicState
|
||||
case 0x398e0dabu: // VUID-vkCmdSetVertexInputEXT-None-04790
|
||||
// The below are due to incorrect reporting of extendedDynamicState3
|
||||
case 0x970c11a5u: // VUID-vkCmdSetColorWriteMaskEXT-extendedDynamicState3ColorWriteMask-07364
|
||||
case 0x6b453f78u: // VUID-vkCmdSetColorBlendEnableEXT-extendedDynamicState3ColorBlendEnable-07355
|
||||
case 0xf66469d0u: // VUID-vkCmdSetColorBlendEquationEXT-extendedDynamicState3ColorBlendEquation-07356
|
||||
case 0x1d43405eu: // VUID-vkCmdSetLogicOpEnableEXT-extendedDynamicState3LogicOpEnable-07365
|
||||
case 0x638462e8u: // VUID-vkCmdSetDepthClampEnableEXT-extendedDynamicState3DepthClampEnable-07448
|
||||
// Misc
|
||||
case 0xe0a2da61u: // VUID-vkCmdDrawIndexed-format-07753
|
||||
#else
|
||||
case 0x682a878au: // VUID-vkCmdBindVertexBuffers2EXT-pBuffers-parameter
|
||||
case 0x99fb7dfdu: // UNASSIGNED-RequiredParameter (vkCmdBindVertexBuffers2EXT pBuffers[0])
|
||||
case 0xe8616bf2u: // Bound VkDescriptorSet 0x0[] was destroyed. Likely push_descriptor related
|
||||
case 0x1608dec0u: // Image layout in vkUpdateDescriptorSet doesn't match descriptor use
|
||||
case 0x55362756u: // Descriptor binding and framebuffer attachment overlap
|
||||
#endif
|
||||
return VK_FALSE;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue