upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 06:00:54 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 06:00:54 -0500
commitc7fdc26d2a06df7b25242963b7be18d5c53e33fd (patch)
tree6ebd19fe285e39b19a4aac4619ceb5444858cae1 /runtime/src/main.cpp
parent29c356b0bcd448181eb74367757dae922cb106ec (diff)
runtime test: compile_teardown expects no session cache from llvmpipe
#1723's new d3d12_compile_teardown failed on llvmpipe at line 436: no pipeline_cache.session.bin after teardown. It passes on the iGPU. The runtime was right and the test assumed every driver keeps compiled pipelines in a VkPipelineCache. Measured with a print in save_session_pipeline_cache: after the warm-up build, llvmpipe's vkGetPipelineCacheData returns VK_SUCCESS and 32 bytes, the header alone (the save limit was 64 MiB). The runtime writes no file of a bare header on purpose, as it is no cache. The check now reads the driver ID (VkPhysicalDeviceDriverProperties). On llvmpipe the file must be absent; on every other driver it must be written at teardown, as before. The rest of the case (the background build ran, the worker joined) is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions