diff options
| author | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-26 02:19:57 +0200 |
|---|---|---|
| committer | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-26 02:19:57 +0200 |
| commit | c3ec925623345b5ee2e923e2e83e887fbb68505b (patch) | |
| tree | 0908fc024be5e7782fe6f40798ddfda295b71e19 /runtime/src/thread_stacks.cpp | |
| parent | 61732aca16fb0d63deb5e9987f9758d4e6ce0228 (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/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions