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

Support f16 float type #3791

Closed
nathanielsimard opened this issue May 21, 2023 · 1 comment
Closed

Support f16 float type #3791

nathanielsimard opened this issue May 21, 2023 · 1 comment

Comments

@nathanielsimard
Copy link

I would like to be able to write compute shaders with wgpu using half precision, but it seems like it's impossible as of now.

var<storage, read_write> input: array<f16>;
                                      ^^^ unknown type

    unknown type: 'f16'
@teoxoy
Copy link
Member

teoxoy commented May 24, 2023

This is only supported via spirv-passthrough, track #4384 for support in WGSL.

@teoxoy teoxoy closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants