Summary: | [WebGPU] Provide default values for descriptor struct members | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||
Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Myles C. Maxfield
2021-11-22 13:38:43 PST
Created attachment 444979 [details]
Patch
Created attachment 445017 [details]
Patch
Comment on attachment 445017 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445017&action=review > Source/WebCore/PAL/pal/graphics/WebGPU/WebGPURenderPassColorAttachment.h:41 > + TextureView* resolveTarget { nullptr }; I'm not sure about the lifetime of this object, but we may consider making this a WeakPtr. Comment on attachment 445017 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445017&action=review >> Source/WebCore/PAL/pal/graphics/WebGPU/WebGPURenderPassColorAttachment.h:41 >> + TextureView* resolveTarget { nullptr }; > > I'm not sure about the lifetime of this object, but we may consider making this a WeakPtr. These objects are never stored, so I think a raw pointer is the right type to use. Committed r286252 (244615@main): <https://commits.webkit.org/244615@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445017 [details]. |