Bug 237879

Summary: [WebGPU] Implement first draft of debug commands according to the spec
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, djg, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 237877    
Bug Blocks: 237882    
Attachments:
Description Flags
Patch
none
Patch
kkinnunen: review+
Patch for committing none

Description Myles C. Maxfield 2022-03-15 00:21:15 PDT
.
Comment 1 Myles C. Maxfield 2022-03-15 00:22:51 PDT
Created attachment 454673 [details]
Patch
Comment 2 Myles C. Maxfield 2022-03-15 00:48:13 PDT
Created attachment 454675 [details]
Patch
Comment 3 Kimmo Kinnunen 2022-03-16 07:58:58 PDT
Comment on attachment 454675 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=454675&action=review

> Source/WebGPU/WebGPU/RenderPassEncoder.mm:112
> +    // There's no direct way of doing this, so we just push/pop an empty debug group.

is this comment still valid? below we seem to insert a signpost instead of an empty debug group
Comment 4 Myles C. Maxfield 2022-03-16 20:06:36 PDT
Comment on attachment 454675 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=454675&action=review

>> Source/WebGPU/WebGPU/RenderPassEncoder.mm:112
>> +    // There's no direct way of doing this, so we just push/pop an empty debug group.
> 
> is this comment still valid? below we seem to insert a signpost instead of an empty debug group

Nope! Good catch.
Comment 5 Myles C. Maxfield 2022-03-16 20:30:47 PDT
Created attachment 454929 [details]
Patch for committing
Comment 6 Myles C. Maxfield 2022-03-16 20:37:24 PDT
Committed r291386 (?): <https://commits.webkit.org/r291386>
Comment 7 Radar WebKit Bug Importer 2022-03-16 20:38:19 PDT
<rdar://problem/90407762>