LunarG / vktrace

Vulkan vktrace / vkreplay
Other
6 stars 8 forks source link

vktrace/vkreplay problems replaying CreateInstance with Validation Features in pNext #11

Open TonyBarbour opened 5 years ago

TonyBarbour commented 5 years ago

Trying to trace and replay the LVT GpuValidationArrayOOB, the test enables VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT and puts a VkValidationFeaturesEXT struct in the InstanceCreateInfo pNext. Tracing seems to work, but on replay, the pEnabledValidationFeatures pointer in the VkValidationFeaturesEXT struct is bad.

Notes about tracing and replay this test: Comment out the "if" block that calls VkRenderFramework::DeviceCanDraw() to avoid making two traces Make sure that VK_LAYER_PATH is set to find validation layers when running vkreplay

KarenGhavam-lunarG commented 5 years ago

@Tony-LunarG Would be good to know what happens if you use gfxreconstruct instead...

TonyBarbour commented 5 years ago

gfxreconstruct does not have this problem, or issue LunarG/vktrace#10, and can trace and replay GpuValidationArrayOOB without issues.