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

Safari 转译 WGSL #27

Open
xiaoiver opened this issue Jun 23, 2020 · 0 comments
Open

Safari 转译 WGSL #27

xiaoiver opened this issue Jun 23, 2020 · 0 comments
Labels

Comments

@xiaoiver
Copy link
Contributor

xiaoiver commented Jun 23, 2020

问题背景

虽然各大浏览器都在实现 WebGPU API,但选择的 Shader 语言尚未达成一致:

  • 目前 Chrome 选择的是 GLSL,通过 glslang 转译成 SPIR-V
  • 而之前 Safari 使用的是 WSL 在 Safari 中支持转译成 WHLSL #25。但从 WSL 仓库说明也能看出该方案已经被废弃了。后续会转向 WGSL,而 WGSL 设计目标之一就是尽可能方便转译成 SPIR-V

image

资源

已知问题

ISSUE 列表:https://github.com/gpuweb/gpuweb/issues?q=is%3Aissue+is%3Aopen+label%3Awgsl

尚未明确以何种形式支持 barrier 和线程组内共享内存:
gpuweb/gpuweb#863

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

No branches or pull requests

1 participant