Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 014f513357e8701983f97c471ebfdb916f27db23
      
https://github.com/WebKit/WebKit/commit/014f513357e8701983f97c471ebfdb916f27db23
  Author: Roberto Rodriguez <[email protected]>
  Date:   2025-10-28 (Tue, 28 Oct 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/TextureMtl.mm

  Log Message:
  -----------
  [ANGLE] Clamp up to base level in Metal backend
https://bugs.webkit.org/show_bug.cgi?id=301328
rdar://152647032

Reviewed by Kimmo Kinnunen.

The Metal backend will crash (i.e., fail a Metal assertion) in a setup
where mipmap base level is greater than max level and can result in
attempting to create a texture view with a range of 0.
In this case, clamp up to the base level.

* LayoutTests/TestExpectations:
* Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/TextureMtl.mm:
(rx::TextureMtl::createViewFromBaseToMaxLevel):

Canonical link: https://commits.webkit.org/302240@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to