LunarG / vktrace

Vulkan vktrace / vkreplay
Other
6 stars 8 forks source link

vkreplay: VkPositiveLayerTest.ExternalFence is failing #32

Open joey-lunarg opened 6 years ago

TonyBarbour commented 6 years ago

Trace the layer validation tests, specifically the ExternalFence positive test:

vktrace -p C:\Users\tony\VulkanTools\build\submodules\Vulkan-LoaderAndValidationLayers\tests\Debug\vk_layer_validation_tests.exe -o positive.vktrace -a "--gtest_filter=VkPositiveLayerTest.ExternalFence"

Play back the trace just created: vkreplay -t positive.vktrace

Playback fails with INITIALIZATION_FAILED from a call to vkImportFenceWin32HandleKHR, The call uses a fence handle it just got back from vkGetFenceWin32HandleKHR, so could fence wrapping be mishandled between these two routines?