Skip to content

Commit

Permalink
WIP: Bug ??????? - feat(webgpu): make `GPUDepthStencilState.{depthWri…
Browse files Browse the repository at this point in the history
…teEnabled,depthCompare}` optional r=#webgpu-reviewers!

TODO: resolve [`gfx-rs/wgpu`#6026](gfx-rs/wgpu#6026) for consumption
  • Loading branch information
ErichDonGubler committed Sep 23, 2024
1 parent d731db3 commit 7718583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom/webidl/WebGPU.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,8 @@ enum GPUBlendOperation {
dictionary GPUDepthStencilState {
required GPUTextureFormat format;

boolean depthWriteEnabled = false;
GPUCompareFunction depthCompare = "always";
boolean depthWriteEnabled;
GPUCompareFunction depthCompare;

GPUStencilFaceState stencilFront = {};
GPUStencilFaceState stencilBack = {};
Expand Down

0 comments on commit 7718583

Please sign in to comment.