Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

[hlsl-out] Unimplemented Switch #1261

Closed
PolyMeilex opened this issue Aug 20, 2021 · 0 comments · Fixed by #1265
Closed

[hlsl-out] Unimplemented Switch #1261

PolyMeilex opened this issue Aug 20, 2021 · 0 comments · Fixed by #1265
Labels
area: back-end Outputs of shader conversion kind: feature New feature or request lang: HLSL High-Level Shading Language

Comments

@PolyMeilex
Copy link

One of the shaders that is in my dependency tree (wgpu_glyph shader) uses a switch statement, which causes a panic because of unimplemented switch writer in hlsl. It's especially problematic because DX12 is the default wgpu backend on Windows.

return Err(Error::Unimplemented(format!("write_stmt {:?}", stmt)))

@kvark kvark added area: back-end Outputs of shader conversion kind: feature New feature or request lang: HLSL High-Level Shading Language labels Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: back-end Outputs of shader conversion kind: feature New feature or request lang: HLSL High-Level Shading Language
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants