Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unreachable reached #4517

Open
zakarumych opened this issue Jun 9, 2022 · 0 comments
Open

Unreachable reached #4517

zakarumych opened this issue Jun 9, 2022 · 0 comments
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

Comments

@zakarumych
Copy link

Message:  internal error: entered unreachable code: Expression [7] is not cached!
Location: ~/.cargo/git/checkouts/naga-dbb2b19faed49210/89bed99/src/back/spv/block.rs:1797

Reproducible with

fn test(rng: ptr<function, u32>) {}

fn woops(uv: vec2<u32>) {
    var rngs = vec3<u32>(1, 2, 3);
    test(&rngs.x);
}
@teoxoy teoxoy added kind: bug lang: SPIR-V Vulkan's Shading Language area: naga back-end Outputs of naga shader conversion labels Jun 13, 2022
@cwfitzgerald cwfitzgerald transferred this issue from gfx-rs/naga Oct 25, 2023
@cwfitzgerald cwfitzgerald added naga Shader Translator type: bug Something isn't working and removed kind: bug labels Oct 25, 2023
@teoxoy teoxoy added this to the WebGPU Specification V1 milestone Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants