LunarG / gfxreconstruct

Graphics API Capture and Replay Tools for Reconstructing Graphics Application Behavior
https://vulkan.lunarg.com/doc/sdk/latest/linux/capture_tools.html
MIT License
379 stars 105 forks source link

Do second round API detect for optimizer if needed #1557

Closed JerryAMD closed 1 week ago

JerryAMD commented 2 weeks ago

Problem For some cases, 1000 blocks is not enough for API detection.

Solution If the first round detection with 1000 blocks doesn't return any detection result, we will do a second round API detection with no-block-limit parameter. The detection will be done with no block limit, till one of targeted API calls is found. A message will show in the console if the second round is needed.

Result It looks for most cases, 1000 blocks should be enough for the API detection. The second round detection should always give us the result and it will be performed only the first round detection (short) doesn't provide any result.

ci-tester-lunarg commented 2 weeks ago

CI gfxreconstruct build queued with queue ID 186720.

ci-tester-lunarg commented 2 weeks ago

CI gfxreconstruct build # 4191 running.

ci-tester-lunarg commented 2 weeks ago

CI gfxreconstruct build # 4191 passed.

davidd-lunarg commented 1 week ago

Looks good, but it needs clang format before it can be merged.

ci-tester-lunarg commented 1 week ago

CI gfxreconstruct build queued with queue ID 189406.

ci-tester-lunarg commented 1 week ago

CI gfxreconstruct build # 4227 running.

ci-tester-lunarg commented 1 week ago

CI gfxreconstruct build # 4227 passed.