Skip to content

Releases: sarc-acl/VulkanTools

v1.4.363.1

Choose a tag to compare

@github-actions github-actions released this 14 Oct 20:34
be1448b
Add capture_trigger_boundary_count, and fix isSetupFrame tagging (#1)

Add capture_trigger_boundary_count, and fix isSetupFrame tagging

- New capture_trigger_boundary_count setting: with capture_trigger,
  dump that many frames (or queue submissions, per
  capture_trigger_boundary) each time the trigger turns on, then stop
  until the trigger is turned off and on again. 0, the default, keeps
  dumping while the trigger is on. Like gfxreconstruct's
  capture_trigger_frames, so a capture of N frames can stop api_dump
  after the same N.
- Another VkInstance created during a capture, which runs init again,
  neither restarts the count nor resumes dumping after it ended.
- Under capture_trigger, nextFrame wrote the new frame's header before
  refreshing the trigger, so every frame was tagged isSetupFrame from
  the frame before it: the first dumped frame was tagged, and the first
  frame after the trigger went off was not. The trigger is now
  refreshed first.
- With capture_trigger_boundary queue_submits, frames were tagged by
  checking their frame number against the queue submission range. They
  are now tagged by the queue submission they start with.
- A frame object is now closed if one was opened, tracked when it is
  opened, instead of recomputing that from the range or trigger state
  when the frame ends. This replaces wasPreviousFrameDumped,
  wasPreviousFrameRecorded and previous_frame_dumped.
- 6 new tests.

[Co-Developed using AI] Claude-opus-5.5

v1.4.361

Choose a tag to compare

@github-actions github-actions released this 09 Oct 23:07
Add api_dump_fast_writer to improve write overhead

- ApiDumpFastWriter has the same << syntax as an ostream.
  It gathers pieces in a 512-byte stack buffer, formats numbers
  with std::to_chars, and hands them to the stream's buffer in
  one call. Types it doesn't know go to the real ostream in order.
- the JSON branches of dump_value, dump_start, dump_end, the
  dump_json_* helpers, the array separators and dump_json_UNUSED
  now write through the writer. Text and HTML behaviour is
  unchanged. ArrayElementName no longer uses snprintf.
- 8 new tests, covering writer-versus-ostream equivalence and an
  exact-bytes JSON golden.