mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
wgpu currently checks if the `write_mask` is 0 to determine wether a stencil is used as readonly or not. However Webgpu contains a more complex ruleset that also checks the cull mode and face operations to determine if the stencil is readonly or not. This commit brings these new rules to wgpu.