Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab97aabb7139f6458361a641ff97e08637975ce6
      
https://github.com/WebKit/WebKit/commit/ab97aabb7139f6458361a641ff97e08637975ce6
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2025-10-04 (Sat, 04 Oct 2025)

  Changed paths:
    M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/CommandEncoder.swift
    M Source/WebGPU/WebGPU/Internal/WebGPUSwiftInternal.h
    A Source/WebGPU/WebGPU/TextureOrTextureView.h
    M Source/WebGPU/WebGPU/WebGPU.h

  Log Message:
  -----------
  [WebGPU Swift] CommandEncoder does not support GPUTexture instances in 
beginRenderPass
https://bugs.webkit.org/show_bug.cgi?id=299456
rdar://161261339

Reviewed by Cameron McCormack.

Factor out Texture variant into its own header file so Swift
and Objective-C implementations can share the same logic.

* Source/WebGPU/WebGPU.xcodeproj/project.pbxproj:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::beginRenderPass):
(WebGPU::TextureOrTextureView::TextureOrTextureView): Deleted.
(WebGPU::TextureOrTextureView::setCommandEncoder): Deleted.
(WebGPU::isRenderableTextureView): Deleted.
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.beginRenderPass(_:)):
(WebGPU.isRenderableTextureView(_:)): Deleted.
* Source/WebGPU/WebGPU/Internal/WebGPUSwiftInternal.h:
(WebGPU_Internal::isValidToUseWith):
* Source/WebGPU/WebGPU/TextureOrTextureView.h: Added.
(WebGPU::TextureOrTextureView::TextureOrTextureView):
(WebGPU::TextureOrTextureView::setCommandEncoder):
(WebGPU::TextureOrTextureView::rasterizationMapForSlice):
(WebGPU::isRenderableTextureView):

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



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

Reply via email to