Don't run vulkan shader debugging tests if debugging isn't available

This commit is contained in:
baldurk
2020-04-08 18:39:03 +01:00
parent 6f92182e9b
commit 3a6e13e902
@@ -7,6 +7,10 @@ class VK_Shader_Debug_Zoo(rdtest.TestCase):
demos_test_name = 'VK_Shader_Debug_Zoo'
def check_capture(self):
if not self.controller.GetAPIProperties().shaderDebugging:
rdtest.log.success("Shader debugging not enabled, skipping test")
return
failed = False
rdtest.log.begin_section("GLSL tests")