gpu: include VICTORY_HW_RT in shader cache key #490
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!490
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-490"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@cerealfordinner on GitHub · 2026-12-04 18:19 UTC · original
cerealfordinner:pr-hwrt-cache-key→main· +7 −0 · 1 files · 1 commits · closed without mergingInclude the VICTORY_HW_RT flag in the shader cache key so toggling hardware ray tracing on/off invalidates cached shaders. Without this, switching VICTORY_HW_RT doesn't rebuild cached shaders that may have been compiled for the other mode.
Signed-off-by: cerealfordinner [email protected]
@Kal0s-design on GitHub · 2026-12-04 19:08 UTC · original
Tried
33a92e6on native Windows. It doesn't build on main.cargo check -p victory-gpustops with E0425 onvictory_shader::emit::hw_rtandhw_rt_lift, because neither exists on main. They come from #468 (the hardware ray tracing series, still a draft), and the shader_cache.rs block in #468 is word for word the same as the one added here. So this looks like it belongs to that series and would need it merged first, or the PR based on it.AI-assisted: yes
github-bot referenced this pull request2026-12-04 20:54:48 +00:00
Pull request closed