-
Notifications
You must be signed in to change notification settings - Fork 386
Add some more defaults in AttachmentDescriptors #268
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1011,7 +1011,7 @@ dictionary GPURenderPassColorAttachmentDescriptor { | |||||
| GPUTextureView? resolveTarget = null; | ||||||
|
|
||||||
| required GPULoadOp loadOp; | ||||||
| required GPUStoreOp storeOp; | ||||||
| required GPUStoreOp storeOp = "store"; | ||||||
| GPUColor clearColor; | ||||||
| }; | ||||||
| </script> | ||||||
|
|
@@ -1027,7 +1027,7 @@ dictionary GPURenderPassDepthStencilAttachmentDescriptor { | |||||
|
|
||||||
| required GPULoadOp depthLoadOp; | ||||||
| required GPUStoreOp depthStoreOp; | ||||||
| required float clearDepth; | ||||||
| required float clearDepth = 1.0; | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After #283, I think this line becomes obsolete.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If all that's left is
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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; | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.