mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
If a test already isn't available, don't overwrite that error
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user