Bug 223778

Summary: [Metal ANGLE] Mipmap generation on Intel does not reliably work for textures with width less than four
Product: WebKit Reporter: Kyle Piddington <kpiddington>
Component: ANGLEAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, ews-watchlist, graouts, kkinnunen, kondapallykalyan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 220076    
Attachments:
Description Flags
Patch dino: review+

Description Kyle Piddington 2021-03-25 18:40:29 PDT
The following four tests are failing on Intel configurations

webgl/1.0.3/conformance/limits/gl-max-texture-dimensions.html
webgl/1.0.3/conformance/textures/texture-size.html
webgl/2.0.0/conformance/limits/gl-max-texture-dimensions.html
webgl/2.0.0/conformance/textures/misc/texture-size.html

All four are failing in subcases when sampling off of mipmaps of 'thin' textures. (Textures with a width less than four, in this case.)
Comment 1 Kyle Piddington 2021-03-25 18:46:20 PDT
Created attachment 424310 [details]
Patch
Comment 2 EWS Watchlist 2021-03-25 18:47:31 PDT
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
Comment 3 Dean Jackson 2021-03-25 20:09:50 PDT
Committed r275073 (235785@main): <https://commits.webkit.org/235785@main>
Comment 4 Radar WebKit Bug Importer 2021-03-25 20:10:15 PDT
<rdar://problem/75869063>