Repository navigation
t_compile: mutation-kill tests for the shader disk cache - #138
pablogonz12 wants to merge 2 commits into
Conversation
…precedence, entry validation, stats, failed stores)
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Merge main into the cache-test lane, preserving both its current logic-op/XFB tests and the original mutation tests and call sites. Match the current .tmpPID.SEQ cache temporary names in both cleanup assertions so leftover files cannot be missed. The actual filename helper passed 18 controlled cases, with the old matcher failing the negative control. Lint and progress checks pass. Full compiler execution requires the pinned Mesa build and is delegated to exact-head CI.
|
@codex review Conflict repair published at 4e4347d. Main's logic-op/XFB cache tests and calls are preserved, alongside this PR's original 244-line mutation block and its call. Only vk/tests/t_compile.c differs from main. The review also found that the two old cleanup assertions could not see current .tmpPID.SEQ cache files. They now match the actual format. The actual count_files helper passed 18 controlled filename cases; the old matcher missed all three representative leftovers and the correction detected them. private-lint, skill-lint, progress check and diff checks pass. The published tree 9117074ee2425741f8ddee3965216112c1f1e8f2 matches the local tree. Full compiler execution was unavailable locally because third_party/build-vk is absent, so the fresh CI result is required before merge. No phone or driver implementation changed. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Adds test_cache_mutations to vk/tests/t_compile.c. 28 hand-applied mutations of the cache code in mali_compile.c: 24 killed; 4 survivors are equivalent or unobservable (bounds checks before fread, vs_layout_size redundant with hashed data, stage field needs the same SPIR-V valid under two stages). check.sh passes. No VkPipelineCache file exists (CreatePipelines ignores the cache).
Summary by CodeRabbit