victory shaders panics at 6d813b4: "use of a void value" (bitcode.rs:872) #51

Closed
opened 2026-11-27 06:07:59 +00:00 by github-bot · 3 comments
Owner

@⁠JohnTitor2003 on GitHub · 2026-11-27 00:34 UTC · original

At 6d813b4, victory shaders <shaders.rpf> ends with exit code 101 after about
25,650 shaders are cached:

thread '<unnamed>' panicked at crates\victory-shader\src\emit\bitcode.rs:872:21:
assertion `left != right` failed: use of a void value
  left: 4294967295
 right: 4294967295
   4: victory_shader::emit::bitcode::Module::write        (bitcode.rs:957)
   5: victory_shader::emit::shader::Shader::finish        (shader.rs:911)
   6: victory_shader::emit::lower::Lower::run             (lower.rs:2648)
   7: victory_shader::emit::lower::lower_counted          (lower.rs:125)
thread 'main' panicked at apps\victory\src\translate.rs:417:13:
a scoped thread panicked

It happens with the launcher's settings and also with VICTORY_WAVE_WIDE=0.
28ebb28 did not do this. In a game run the same build keeps going and logs
host pipeline build panicked for two compute programs, which are probably the
same ones (I have not confirmed which program the offline panic is in):

  • vfx_triangleClip:CS_DefragHeap_ComputeRelocations (02384a60fda6f2d0)
  • InstanceCulling:CS_Tree_BatchCull_ImposterOnly (89d08e561897d4e5)

PC: RTX 5080 16 GB (driver 617.42), Ryzen 9 7950X, 32 GB RAM, Windows 11.

Written with AI assistance (Claude Code).

**@⁠JohnTitor2003** on GitHub · 2026-11-27 00:34 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/51) At 6d813b4, `victory shaders <shaders.rpf>` ends with exit code 101 after about 25,650 shaders are cached: ``` thread '<unnamed>' panicked at crates\victory-shader\src\emit\bitcode.rs:872:21: assertion `left != right` failed: use of a void value left: 4294967295 right: 4294967295 4: victory_shader::emit::bitcode::Module::write (bitcode.rs:957) 5: victory_shader::emit::shader::Shader::finish (shader.rs:911) 6: victory_shader::emit::lower::Lower::run (lower.rs:2648) 7: victory_shader::emit::lower::lower_counted (lower.rs:125) thread 'main' panicked at apps\victory\src\translate.rs:417:13: a scoped thread panicked ``` It happens with the launcher's settings and also with `VICTORY_WAVE_WIDE=0`. 28ebb28 did not do this. In a game run the same build keeps going and logs `host pipeline build panicked` for two compute programs, which are probably the same ones (I have not confirmed which program the offline panic is in): - `vfx_triangleClip:CS_DefragHeap_ComputeRelocations` (`02384a60fda6f2d0`) - `InstanceCulling:CS_Tree_BatchCull_ImposterOnly` (`89d08e561897d4e5`) **PC:** RTX 5080 16 GB (driver 617.42), Ryzen 9 7950X, 32 GB RAM, Windows 11. Written with AI assistance (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 06:07:59 +00:00
Author
Owner

@⁠Veogner on GitHub · 2026-11-27 02:27 UTC · original

Same issue on RTX 5080(Laptop), U9 386H and 32GB Ram Windows 11 26H2

**@⁠Veogner** on GitHub · 2026-11-27 02:27 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/51#issuecomment-7208148294) Same issue on RTX 5080(Laptop), U9 386H and 32GB Ram Windows 11 26H2
Author
Owner

@⁠aayushmanmk on GitHub · 2026-11-27 04:49 UTC · original

Same issue on RTX 4060Ti, ryzen 5 5600X. 32GB RAM, cachy OS (using proton 11.3 on steam)

**@⁠aayushmanmk** on GitHub · 2026-11-27 04:49 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/51#issuecomment-7210121660) Same issue on RTX 4060Ti, ryzen 5 5600X. 32GB RAM, cachy OS (using proton 11.3 on steam)
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-27 05:13 UTC · original

Fixed in 6369541 — the offline batch translator now wraps precompile() in catch_unwind, so a single void-value panic no longer kills the entire shader run.

**@⁠DoubleGhosty** on GitHub · 2026-11-27 05:13 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/51#issuecomment-7210456092) Fixed in 6369541 — the offline batch translator now wraps precompile() in catch_unwind, so a single void-value panic no longer kills the entire shader run.
This discussion has been locked. Commenting is limited to contributors.
No description provided.