Summary: | [WebGPU] Tracer bullet part 5: Give Metal objects to WebGPU objects | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||
Component: | WebGPU | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | dino, rmorisset, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 236891 | ||||||||
Bug Blocks: | 236879 | ||||||||
Attachments: |
|
Description
Myles C. Maxfield
2022-02-19 16:24:06 PST
Created attachment 452662 [details]
Patch
Created attachment 452667 [details]
Patch
Comment on attachment 452667 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452667&action=review > Source/WebGPU/WebGPU/BindGroup.h:53 > + id <MTLBuffer> m_vertexArgumentBuffer { nil }; > + id <MTLBuffer> m_fragmentArgumentBuffer { nil }; > + id <MTLBuffer> m_computeArgumentBuffer { nil }; > }; I think we do id<MTLBuffer> (without the space), here and elsewhere. Comment on attachment 452667 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452667&action=review >> Source/WebGPU/WebGPU/BindGroup.h:53 >> }; > > I think we do id<MTLBuffer> (without the space), here and elsewhere. I polled the Apple L&R team internally and they seemed to prefer id <MTLBuffer>, so that's what I went with :/ Committed r290256 (?): <https://commits.webkit.org/r290256> |