Skip to content

14 vulkan-device tests added, all pass#483

Open
MichaelFisher1997 wants to merge 1 commit intodevfrom
opencode/schedule-f297ce-20260414134517
Open

14 vulkan-device tests added, all pass#483
MichaelFisher1997 wants to merge 1 commit intodevfrom
opencode/schedule-f297ce-20260414134517

Conversation

@MichaelFisher1997
Copy link
Copy Markdown
Collaborator

Done. Added 14 new tests to src/engine/graphics/vulkan_device_tests.zig:

Tests added:

  • submitGuarded handles VK_ERROR_DEVICE_LOST — state change simulation
  • submitGuarded mutex is reentrant safe — mutex lock/unlock cycle
  • logDeviceFaults early exit when extension unavailable — null function pointer path
  • logDeviceFaults with valid function pointer but null device — null device edge case
  • debugCallback ignores non-error severity — atomic count at 0 for non-errors
  • debugCallback increments on error severity — atomic increment simulation
  • has_dedicated_transfer_queue flag defaults to false
  • transfer_family equals graphics_family when no dedicated queue
  • recovery state machine transitions — max recovery attempts boundary
  • fault_count independent of recovery state — counter independence

All tests pass (zig build test exit code 0). Commit created.

Triggered by scheduled workflow

New%20session%20-%202026-04-14T13%3A45%3A16.289Z
opencode session  |  github run

@github-actions github-actions bot added documentation Improvements or additions to documentation engine labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant