mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:10:53 +01:00
[PR #2180] vulkan_replay: name IndirectKind::dispatch_mesh in indirect_record_size; no -Wswitch warnings on clang (RT-INDIRECT-KIND-SWITCH) #2184
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2184
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2180
Author: @Tauwni
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:fix/indirect-record-size-dispatch-mesh📝 Commits (2)
163facdvulkan_replay: indirect_record_size names IndirectKind::dispatch_mesh; command_list.h comment says how it records7bbea3cMerge main into fix/indirect-record-size-dispatch-mesh📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
runtime/src/command_list.h(+3 -2)📝
runtime/src/vulkan_replay.h(+3 -0)📄 Description
Claimed in the coordination issue as: RT-INDIRECT-KIND-SWITCH (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7181123158)
What and why
Every clang build of the runtime (macOS, Linux) prints this warning 35 times, once per target that includes
vulkan_replay.h:detail::indirect_record_sizelistsdraw,draw_indexedanddispatch, but notdispatch_mesh(added for DISPATCH_MESH signatures). No behaviour changes:Draw(record_indirectind3d12_com.cpp) and drawn withvkCmdDrawMeshTasksIndirect(Count)EXT. It never becomes anExecuteIndirectcommand.invalid_indirect_arguments). The case now says so explicitly.IndirectKind::dispatch_meshincommand_list.hstill said that ExecuteIndirect with it "records nothing yet". It now describes what is recorded.Tested
Apple M3, macOS 26.5.1, AppleClang, on
main86dc3d86e: 0 warnings, down from 35. ctest 106/106.AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.