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 Nov 1, 2024
1 parent b7fbbaa commit a8e07a7
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 @@ -787,8 +787,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 a8e07a7

Please sign in to comment.