More Vulkan validation fixes

NVIDIA no longer uses nVidia capitalization.
This commit is contained in:
Henrik Rydgard
2019-02-05 18:07:11 +01:00
committed by Henrik Rydgård
parent 6f2a6e2e6a
commit fdd0d7acb4
5 changed files with 13 additions and 12 deletions
-2
View File
@@ -73,8 +73,6 @@ VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugReportObje
}
message << "[" << pLayerPrefix << "] " << ObjTypeToString(objType) << " Code " << msgCode << " : " << pMsg << "\n";
if (msgCode == 2) // Useless perf warning ("Vertex attribute at location X not consumed by vertex shader")
return false;
if (msgCode == 64) // Another useless perf warning that will be seen less and less as we optimize - vkCmdClearAttachments() issued on command buffer object 0x00000195296C6D40 prior to any Draw Cmds. It is recommended you use RenderPass LOAD_OP_CLEAR on Attachments prior to any Draw.
return false;
if (msgCode == 5)