upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 19:20:58 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 19:20:58 +0100
commitaec6998a9d5c9fac4565c83aa87b18c909939cfd (patch)
tree92331ac151377c2d2e2cae2fbd82f4291a039ca0 /runtime/test/vk_queue_query_sync_test.cpp
parentad36782c6d54af6af343def1a86861d760de9e96 (diff)
d3d12: the translator's test modules are no part of the shader cache key (D3D12-SHADER-KEY-NO-TESTS)
leonida-shader's build script hashed every .rs file of the crate, its *_tests.rs modules included, into LEONIDA_SHADER_SOURCE_HASH, and since 0baa9278c that hash is part of the shader cache key (translation_fingerprint). A pull request that only adds a translator test made every player and tester translate all shaders again at the next start and make their early pipelines again, which 69837e53a had ruled out for leonida-gpu's own fingerprint. The switch-name scan in the same script also put the switches only tests read (LEONIDA_DIFF_ONLY, LEONIDA_EMIT_DUMP, LEONIDA_CONSOLE_DXC, LEONIDA_PROBE) into the key. The build script now leaves *_tests.rs out of both. Each of those modules is declared under a cfg with test, so none changes what the translator emits. Three portable tests: the hash recomputed without the test modules equals the built one; test-only switches are out of the key and the translator's own are in; every `mod *_tests;` is test-only.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions