File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/DiligentCoreAPITest/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ class InlineConstants : public ::testing::Test
129129 GPUTestingEnvironment* pEnv = GPUTestingEnvironment::GetInstance ();
130130 IRenderDevice* pDevice = pEnv->GetDevice ();
131131
132- if (!pDevice->GetDeviceInfo ().IsD3DDevice ())
132+ if (!pDevice->GetDeviceInfo ().IsD3DDevice () && !pDevice-> GetDeviceInfo (). IsVulkanDevice () )
133133 {
134134 GTEST_SKIP ();
135135 }
@@ -744,7 +744,7 @@ TEST_F(InlineConstants, RenderStateCache)
744744
745745 bool PresentInCache = pData != nullptr ;
746746#if !DILIGENT_DEBUG
747- if (pDevice->GetDeviceInfo ().IsD3DDevice ())
747+ if (pDevice->GetDeviceInfo ().IsD3DDevice () || pDevice-> GetDeviceInfo (). IsVulkanDevice () )
748748 {
749749 // For some reason, hash computation consistency depends on D3DCOMPILE_DEBUG flag and differs between debug and release builds
750750 PresentInCache = true ;
You can’t perform that action at this time.
0 commit comments