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

WebGPU 下需要支持 stencilRead / WriteMask #164

Closed
xiaoiver opened this issue Jan 22, 2024 · 2 comments
Closed

WebGPU 下需要支持 stencilRead / WriteMask #164

xiaoiver opened this issue Jan 22, 2024 · 2 comments

Comments

@xiaoiver
Copy link
Contributor

https://www.khronos.org/opengl/wiki/Stencil_Test
https://www.w3.org/TR/webgpu/#dom-gpudepthstencilstate-stencilreadmask

目前 translateDepthStencilState 时写死了默认值:

stencilReadMask: 1,
stencilWriteMask: 1,
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: WebGPU needs to support stencilRead / WriteMask

https://www.khronos.org/opengl/wiki/Stencil_Test
https://www.w3.org/TR/webgpu/#dom-gpudepthstencilstate-stencilreadmask

Currently translateDepthStencilState has a hard-coded default value:

stencilReadMask: 1,
stencilWriteMask: 1,

@xiaoiver
Copy link
Contributor Author

截屏2024-05-16 下午2 05 01

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