Sitelet https://github.com/gpuweb/gpuweb/pull/268/files
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ dictionary GPURenderPassColorAttachmentDescriptor {
GPUTextureView? resolveTarget = null;

required GPULoadOp loadOp;
required GPUStoreOp storeOp;
required GPUStoreOp storeOp = "store";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
required GPUStoreOp storeOp = "store";
GPUStoreOp storeOp = "store";

GPUColor clearColor;
};
</script>
Expand All @@ -1027,7 +1027,7 @@ dictionary GPURenderPassDepthStencilAttachmentDescriptor {

required GPULoadOp depthLoadOp;
required GPUStoreOp depthStoreOp;
required float clearDepth;
required float clearDepth = 1.0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
required float clearDepth = 1.0;
float clearDepth = 1.0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After #283, I think this line becomes obsolete.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If all that's left is GPUStoreOp storeOp = "store";, we should merge. What do you think @kainino0x @kvark ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me upload a new PR for just that change since this one is stale.


required GPULoadOp stencilLoadOp;
required GPUStoreOp stencilStoreOp;
Expand Down