Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e93212620ad599d9681472961dbec3d07a4af461
      
https://github.com/WebKit/WebKit/commit/e93212620ad599d9681472961dbec3d07a4af461
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/CommandEncoder.mm

  Log Message:
  -----------
  [WebGPU] CommandEncoder::clearBuffer fails validation for destroyed buffer 
which is then unmapped
https://bugs.webkit.org/show_bug.cgi?id=272211
<radar://123328077>

Reviewed by Tadeu Zagallo.

It does not appear the specificaion prevents a destroyed buffer from
becoming unmapped and effectively non-destroyed, though it probably should.

However in that case we don't fail validation and then Metal validation fails
on the fillBuffer call, so guard against that.

* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::clearBuffer):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to