upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/code_hooks_test.cpp
diff options
context:
space:
mode:
authorwhoalin1 <207920491+whoalin1@users.noreply.github.com>2026-11-26 02:19:57 +0200
committerwhoalin1 <207920491+whoalin1@users.noreply.github.com>2026-11-26 02:19:57 +0200
commitc3ec925623345b5ee2e923e2e83e887fbb68505b (patch)
tree0908fc024be5e7782fe6f40798ddfda295b71e19 /runtime/test/code_hooks_test.cpp
parent61732aca16fb0d63deb5e9987f9758d4e6ce0228 (diff)
rdna2spirv: cache shader stages per carve root
stage_of cached the first index.json it read in process-global _STAGES and reused it for every later shader. A process that translates programs from two carve roots can therefore pick the first root's stage for a shader in the second root, changing stage-dependent codegen. Keep the process-local cache, but key it by the resolved index.json path. The synthetic two-root regression test fails on main with the second root reported as the first root's stage and passes with the fix. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions