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 for mixed type >>= operation #4816

Open
mehmetoguzderin opened this issue Aug 13, 2024 · 1 comment
Open

Support for mixed type >>= operation #4816

mehmetoguzderin opened this issue Aug 13, 2024 · 1 comment
Labels
wgsl WebGPU Shading Language Issues
Milestone

Comments

@mehmetoguzderin
Copy link
Member

Issue 1 extracted from #4750 by @jacobgorm

WGSL currently does not support vector >>= scalar operations, unlike other compound assignments such as /=. Please see "Binary arithmetic expressions with mixed scalar and vector operands" table: https://gpuweb.github.io/gpuweb/wgsl/#arithmetic-expr

The lack of support for mixed type >>= operation complicates code porting and readability. Supporting this could improve developer experience of WGSL.

@mehmetoguzderin mehmetoguzderin added the wgsl WebGPU Shading Language Issues label Aug 13, 2024
@kdashg
Copy link
Contributor

kdashg commented Aug 27, 2024

WGSL 2024-08-27 Minutes

@kdashg kdashg added this to the Milestone 2 milestone Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wgsl WebGPU Shading Language Issues
Projects
None yet
Development

No branches or pull requests

2 participants