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

Language request: WGSL - WebGPU Shading Language #3454

Closed
Dr4gonthree opened this issue May 14, 2022 · 4 comments
Closed

Language request: WGSL - WebGPU Shading Language #3454

Dr4gonthree opened this issue May 14, 2022 · 4 comments

Comments

@Dr4gonthree
Copy link
Contributor

Language
WGSL is the Shading language for WebGPU.
WebGPU is a web API for using the GPU.

I created a prism-wgsl.js file which is based on the WGSL Extension for VS Code, but i'm not sure if it works correctly or misses something.

Additional resources
W3C Working Draft of WGSL: https://www.w3.org/TR/WGSL/
WebGPU Website: https://web.dev/gpu/
WGSL Extension for VS Code: https://github.com/PolyMeilex/vscode-wgsl
WGSL defintion based on the WGSL extension: https://github.com/Dr4gonthree/prismjs-wgsl-definition

@RunDevelopment
Copy link
Member

I created a prism-wgsl.js file which is based on the WGSL Extension for VS Code, but i'm not sure if it works correctly or misses something.

Feel free to make a PR or share it here (user a) so somebody else can make a PR based on it.

@Dr4gonthree
Copy link
Contributor Author

Feel free to make a PR or share it here (user a) so somebody else can make a PR based on it.

Ok i created a PR for WGSL. Do i have to somehow link it to this issue?

@RunDevelopment
Copy link
Member

You can use Github's closing keywords to link this issue in your PR description.

@RunDevelopment
Copy link
Member

Resolved by #3455.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants