[WebGPU] Provide default values for descriptor struct members
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].
<rdar://problem/85829191>