Bug 255002

Summary: [ANGLE] Speculative fix for div-by-zero in DispatchCompute
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: ANGLEAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Dan Glastonbury
Reported 2023-04-04 12:26:54 PDT
On some CPU configurations, divide-by-zero raises an exception. To avoid dividing by zero on devices that don't have non-uniform dispatch, clamp numThreads between 1 and threadExecutionWidth.
Attachments
Dan Glastonbury
Comment 1 2023-04-04 12:27:38 PDT
Dan Glastonbury
Comment 2 2023-04-04 12:32:30 PDT
EWS
Comment 3 2023-04-04 22:07:55 PDT
Committed 262609@main (e6c30af4dc92): <https://commits.webkit.org/262609@main> Reviewed commits have been landed. Closing PR #12388 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.