Bug 199853

Summary: [WHLSL] Return the zero-value enum in the enum-from-integer constructor when the integer is not a valid enum value
Product: WebKit Reporter: Saam Barati <saam>
Component: WebGPUAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, ews-watchlist, fpizlo, jonlee, justin_fan, mmaxfield, rmorisset, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 199634    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description Saam Barati 2019-07-17 04:10:39 PDT
...
Comment 1 Saam Barati 2019-07-20 06:33:23 PDT
Created attachment 374550 [details]
patch
Comment 2 EWS Watchlist 2019-07-20 06:35:03 PDT
Attachment 374550 [details] did not pass style-queue:


ERROR: Source/WebCore/Modules/webgpu/WHLSL/Metal/WHLSLNativeFunctionWriter.cpp:148:  Multi line control clauses should use braces.  [whitespace/braces] [4]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Myles C. Maxfield 2019-07-20 20:27:42 PDT
R=me
Comment 4 WebKit Commit Bot 2019-07-21 11:31:59 PDT
Comment on attachment 374550 [details]
patch

Clearing flags on attachment: 374550

Committed r247675: <https://trac.webkit.org/changeset/247675>
Comment 5 WebKit Commit Bot 2019-07-21 11:32:00 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2019-07-21 11:32:16 PDT
<rdar://problem/53370712>