Log which shader converter was loaded (#295) #300
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!300
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/300/head"
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?
@m0rff on GitHub · 2026-11-27 09:34 UTC · original
m0rff:m0rff/log-msc-converter→main· +62 −2 · 2 files · 1 commits · merged 2026-11-27 10:37 UTCRefs #295
The reporter's suggestion only: the start-up log now names the converter it loaded and where the path came from, and warns when it is not Apple's default.
metal: shader converter <path> <size> <mtime> (from VICTORY_MSC_DYLIB | the installed default), logged once per run (msc::try_open_default)./usr/local/lib/libmetalirconverter.dylib. The variable set to the default path itself is not warned about. An emptyVICTORY_MSC_DYLIBnow counts as unset, as it already did innative-setup.sh.IRCompilerGetBinaryVersion(unsigned char*), but its buffer size and format are unknown, so it is not called.)Does the shader cache key tell converters apart? Yes. The
Mscid (path, file size, modification time) is part of every library cache key (convert_withandmesh_threads), so a different converter path, or a replaced file at the same path, gets its own cache entries. Nothing changed there.Tests:
msc::tests::the_converter_path_is_the_override_if_set_else_the_default,msc::tests::the_load_note_names_its_source_and_warns_only_off_the_default_path. Docs:docs/native-host.md, next to the shader cache's library keys.@LakshanSivakumar on GitHub · 2026-11-27 10:37 UTC · original
Thank you. Merged.