Tweak leak threshold on vulkan test

* It seems like some drivers don't free some memory from the resident set until
  a certain point, meaning the peak memory is higher after a couple of captures
  then goes down. This isn't a true leak and us  checking the entire process's
  working set size is a very poor litmus test, so bumping this value is fine.
This commit is contained in:
baldurk
2021-01-26 11:28:36 +00:00
parent ca4bbc0530
commit 56c5c18aac
+2 -2
View File
@@ -69,8 +69,8 @@ RD_TEST(VK_Leak_Check, VulkanGraphicsTest)
while(Running())
{
// allow a generous 500MB, we're really only after catching big leaks here
if(GetMemoryUsage() > 500 * 1000 * 1000)
// allow a generous 750MB, we're really only after catching big leaks here
if(GetMemoryUsage() > 750 * 1000 * 1000)
{
TEST_ERROR("Memory usage of %llu is too high!", GetMemoryUsage());
break;