Fix crash when tests are run on linux

This commit is contained in:
baldurk
2021-07-28 11:37:14 +01:00
parent 08b0a1d7ea
commit 50219acaf9
@@ -6,7 +6,8 @@ class D3D12_Descriptor_Indexing(rdtest.TestCase):
demos_test_name = 'D3D12_Descriptor_Indexing'
def check_support(self):
if rd.GetConfigSetting("D3D12_Experimental_BindlessFeedback").AsBool() is False:
cfg = rd.GetConfigSetting("D3D12_Experimental_BindlessFeedback")
if cfg is not None and cfg.AsBool() is False:
return False, 'Bindless feedback is not enabled'
return super().check_support()