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

Add backend intrinsics/built-in functions to their respective reserved keywords list #4555

Open
2 of 4 tasks
teoxoy opened this issue Jun 2, 2023 · 0 comments
Open
2 of 4 tasks
Labels
area: naga back-end Outputs of naga shader conversion lang: Metal Metal Shading Language lang: WGSL WebGPU Shading Language naga Shader Translator

Comments

@teoxoy
Copy link
Member

teoxoy commented Jun 2, 2023

User defined symbols might collide with backend intrinsics, we need to rename them.

@teoxoy teoxoy added the area: naga back-end Outputs of naga shader conversion label Jun 2, 2023
fornwall referenced this issue in fornwall/naga Jul 23, 2023
fornwall referenced this issue in fornwall/naga Jul 23, 2023
teoxoy referenced this issue in gfx-rs/naga Jul 25, 2023
* [glsl-out] Add built-in functions to keywords

Fixes #2276 and part of #2366.

* add a few more keywords and document where they come from

---------

Co-authored-by: teoxoy <[email protected]>
@cwfitzgerald cwfitzgerald transferred this issue from gfx-rs/naga Oct 25, 2023
@cwfitzgerald cwfitzgerald added the naga Shader Translator label Oct 25, 2023
@teoxoy teoxoy added this to the WebGPU Specification V1 milestone Nov 3, 2023
@teoxoy teoxoy added lang: Metal Metal Shading Language lang: WGSL WebGPU Shading Language labels Dec 4, 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: Metal Metal Shading Language lang: WGSL WebGPU Shading Language naga Shader Translator
Projects
Status: No status
Development

No branches or pull requests

2 participants