Currently for GPU-AV, it would be nice to have a way for it to make sure we test the error message is good
My advice is to always have the VUID (so we know where the test coverage is for any VUID) so it could look like
m_errorMonitor->SetDesiredError("VUID-xxx", "regex to error message");
this can be done easily because in DebugCallback() we can just do the VUID matching in VkDebugUtilsMessengerCallbackDataEXT::pMessageIdName and the rest would be for the error message
Currently for GPU-AV, it would be nice to have a way for it to make sure we test the error message is good
My advice is to always have the VUID (so we know where the test coverage is for any VUID) so it could look like
m_errorMonitor->SetDesiredError("VUID-xxx", "regex to error message");
this can be done easily because in
DebugCallback()
we can just do the VUID matching inVkDebugUtilsMessengerCallbackDataEXT::pMessageIdName
and the rest would be for the error message