If a test already isn't available, don't overwrite that error

This commit is contained in:
baldurk
2019-08-14 14:15:41 +01:00
parent bb8172cfff
commit 272f993138
2 changed files with 6 additions and 0 deletions
@@ -55,6 +55,9 @@ float4 main() : SV_Target0
{
D3D11GraphicsTest::Prepare(argc, argv);
if(!Avail.empty())
return;
if(!opts.MapNoOverwriteOnDynamicBufferSRV)
Avail = "Requires mappable buffer SRVs";
}
@@ -274,6 +274,9 @@ void main()
VulkanGraphicsTest::Prepare(argc, argv);
if(!Avail.empty())
return;
if(physProperties.limits.maxVertexOutputComponents < 128)
Avail = "Not enough vertex output components to run test";
}