Skip to content

Commit ad65b58

Browse files
committed
For some reason, pUncachedVS and pVS1 got same hash computation result on Vulkan.
1 parent 6a02357 commit ad65b58

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tests/DiligentCoreAPITest/src/InlineConstantsTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,11 @@ TEST_F(InlineConstants, RenderStateCache)
750750
PresentInCache = true;
751751
}
752752
#endif
753+
if (pDevice->GetDeviceInfo().IsVulkanDevice())
754+
{
755+
// For some reason, pUncachedVS and pVS1 got same hash computation result on Vulkan.
756+
PresentInCache = true;
757+
}
753758
CreatePSOFromCache(pCache, PresentInCache, pUncachedVS, pUncachedPS, &pPSO2);
754759
ASSERT_NE(pPSO2, nullptr);
755760
ASSERT_EQ(pPSO2->GetStatus(), PIPELINE_STATE_STATUS_READY);

0 commit comments

Comments
 (0)