panic during translation .frag -> .spv (validation successful): entered unreachable code #4549
Labels
area: naga back-end
Outputs of naga shader conversion
lang: SPIR-V
Vulkan's Shading Language
naga
Shader Translator
type: bug
Something isn't working
Milestone
Hey,
I have encountered shader programs that validate but panic during translation to spir-v. While looking for a minimal example, I constructed this shadertoy and it's wsgl.frag varaint (via wgpu-py)
So there might be an issue where validation for glsl doesn't correctly catch some issue in the code (although it's valid originally) and therefore crashes during translation. Full backtrace as follows:
potential duplicate of #4540, #4517, #4464
The text was updated successfully, but these errors were encountered: