Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ff2fd63a337d9853628a9f4de9021dbe14f8a86b
      
https://github.com/WebKit/WebKit/commit/ff2fd63a337d9853628a9f4de9021dbe14f8a86b
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2026-10-05 (Mon, 05 Oct 2026)

  Changed paths:
    M Source/WebGPU/WebGPU/APIConversions.h
    M Source/WebGPU/WebGPU/Adapter.h
    M Source/WebGPU/WebGPU/Adapter.mm
    M Source/WebGPU/WebGPU/BindGroup.mm
    M Source/WebGPU/WebGPU/BindGroupLayout.h
    M Source/WebGPU/WebGPU/BindGroupLayout.mm
    M Source/WebGPU/WebGPU/Buffer.h
    M Source/WebGPU/WebGPU/Buffer.mm
    M Source/WebGPU/WebGPU/Buffer.swift
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/CommandEncoder.swift
    M Source/WebGPU/WebGPU/CommandsMixin.h
    M Source/WebGPU/WebGPU/CommandsMixin.mm
    M Source/WebGPU/WebGPU/ComputePassEncoder.h
    M Source/WebGPU/WebGPU/ComputePassEncoder.mm
    M Source/WebGPU/WebGPU/ComputePipeline.mm
    M Source/WebGPU/WebGPU/Device.h
    M Source/WebGPU/WebGPU/Device.mm
    M Source/WebGPU/WebGPU/ExternalTexture.mm
    M Source/WebGPU/WebGPU/HardwareCapabilities.h
    M Source/WebGPU/WebGPU/HardwareCapabilities.mm
    M Source/WebGPU/WebGPU/Instance.h
    M Source/WebGPU/WebGPU/Instance.mm
    M Source/WebGPU/WebGPU/Pipeline.h
    M Source/WebGPU/WebGPU/Pipeline.mm
    M Source/WebGPU/WebGPU/PipelineLayout.mm
    M Source/WebGPU/WebGPU/PresentationContext.h
    M Source/WebGPU/WebGPU/PresentationContext.mm
    M Source/WebGPU/WebGPU/PresentationContextIOSurface.h
    M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm
    M Source/WebGPU/WebGPU/QuerySet.mm
    M Source/WebGPU/WebGPU/Queue.h
    M Source/WebGPU/WebGPU/Queue.mm
    M Source/WebGPU/WebGPU/RenderBundleEncoder.h
    M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
    M Source/WebGPU/WebGPU/RenderPassEncoder.h
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm
    M Source/WebGPU/WebGPU/RenderPipeline.mm
    M Source/WebGPU/WebGPU/Sampler.h
    M Source/WebGPU/WebGPU/Sampler.mm
    M Source/WebGPU/WebGPU/ShaderModule.h
    M Source/WebGPU/WebGPU/ShaderModule.mm
    M Source/WebGPU/WebGPU/StdLibExtras.swift
    M Source/WebGPU/WebGPU/Texture.h
    M Source/WebGPU/WebGPU/Texture.mm
    M Source/WebGPU/WebGPU/TextureOrTextureView.h
    M Source/WebGPU/WebGPU/TextureView.h
    M Source/WebGPU/WebGPU/TextureView.mm
    M Source/WebGPU/WebGPU/WebGPU.h
    M Source/WebGPU/WebGPU/WebGPUCppConversions.h
    M Source/WebGPU/WebGPU/WorkAround173516139.h
    M Source/WebGPU/WebGPU/XRBinding.h
    M Source/WebGPU/WebGPU/XRBinding.mm
    M Source/WebGPU/WebGPU/XRProjectionLayer.h
    M Source/WebGPU/WebGPU/XRProjectionLayer.mm
    M Source/WebGPU/WebGPU/XRSubImage.mm
    M Source/WebGPU/WebGPUCpp.h

  Log Message:
  -----------
  WebGPU: Make framework types take C++ API types
https://bugs.webkit.org/show_bug.cgi?id=325625
rdar://188677927

Reviewed by Mike Wyrzykowski.

For each create/command entry point:
1. Define the C++ API descriptor.
2. Change the WebGPU::Metal:: method signature to take it.
3. Move the WGPU -> C++ conversion into the existing wgpu* body.

This only changes WebGPU.framework. WebCore::WebGPU::*Impl keeps calling
wgpu* unchanged throughout. In future commits, wgpu* calls will be
replaced by normal C++ calls.

Rules for the conversions:

WebGPU::X fromAPI(const WGPUXDescriptor&) conversions go in
WebGPU/WebGPU/WebGPUCppConversions.h, next to the enum conversions and
fromAPI(WGPUStringView). They return std::optional and use no
WebGPU::Metal types.

Handles inside descriptors resolve to the API types (WebGPU::X&) through
the bridge. That keeps the conversions independent of the
implementation, as the wgpu* -> API conversion is done iteratively. It
requires sharing the handles between the two APIs.

Failed conversions (unknown enum values and similar) always produce a
validation error and an invalid object. The framework shim uses
WebGPU::Metal::Device::generateAValidationError and WebGPU
::Metal::X::createInvalid. In future patch these become API methods, so
that the WebKit IPC implementation can do the same.

Where an implementation rebuilds a descriptor from stored fields (for
example the WebGPU::Metal::Sampler state cache), the stored fields
change to API types, and the rebuilt descriptor is the C++ API
descriptor.

Flag conversions: unknown bits in map-mode flags are dropped rather than
failing the conversion, because only the Read and Write bits are
validated (as the spec does). This is the one exception to the
failed-conversion rule.

Map results: mapAsync completes with CompletionHandler<void(bool)>, as
the WebKit::RemoteBuffer IPC reply does. The shims map it to
WGPUMapAsyncStatus.

* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebGPU/WebGPU/APIConversions.h:
(WebGPU::Metal::metal):
(WebGPU::Metal::metalOrNull):
(WebGPU::Metal::findChainedStruct): Deleted.
(WebGPU::Metal::bindGroupLayoutsSpan): Deleted.
(WebGPU::Metal::colorFormatsSpan): Deleted.
(WebGPU::Metal::entriesSpan): Deleted.
(WebGPU::Metal::constantsSpan): Deleted.
(WebGPU::Metal::hintsSpan): Deleted.
(WebGPU::Metal::viewFormatsSpan): Deleted.
(WebGPU::Metal::attributesSpan): Deleted.
(WebGPU::Metal::requiredFeaturesSpan): Deleted.
(WebGPU::Metal::colorAttachmentsSpan): Deleted.
(WebGPU::Metal::buffersSpan): Deleted.
(WebGPU::Metal::targetsSpan): Deleted.
* Source/WebGPU/WebGPU/Adapter.h:
* Source/WebGPU/WebGPU/Adapter.mm:
(WebGPU::Metal::Adapter::features const):
(WebGPU::Metal::Adapter::info):
(WebGPU::Metal::Adapter::getInfo):
(WebGPU::Metal::Adapter::requestDevice):
(wgpuAdapterEnumerateFeatures):
(wgpuAdapterGetLimits):
(requestDevice):
(wgpuAdapterRequestDevice):
(wgpuAdapterRequestDeviceWithBlock):
(WebGPU::Metal::Adapter::enumerateFeatures): Deleted.
(WebGPU::Metal::Adapter::getLimits): Deleted.
* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::Metal::bufferIsPresent): Deleted.
(WebGPU::Metal::samplerIsPresent): Deleted.
(WebGPU::Metal::textureIsPresent): Deleted.
(WebGPU::Metal::textureViewIsPresent): Deleted.
* Source/WebGPU/WebGPU/BindGroupLayout.h:
* Source/WebGPU/WebGPU/BindGroupLayout.mm:
(WebGPU::Metal::createArgumentDescriptor):
(WebGPU::Metal::createTextureArgumentDescriptor):
(WebGPU::Metal::bufferBindingLayout):
(WebGPU::Metal::isArrayLength):
(WebGPU::Metal::hasDynamicOffset):
(WebGPU::Metal::bindingLayout):
(WebGPU::Metal::Device::createBindGroupLayout):
(WebGPU::Metal::BindGroupLayout::isPresent): Deleted.
(WebGPU::Metal::BindGroupLayout::bindingLayoutFromAPI): Deleted.
* Source/WebGPU/WebGPU/Buffer.h:
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::Metal::validateDescriptor):
(WebGPU::Metal::validateCreateBuffer):
(WebGPU::Metal::storageMode):
(WebGPU::Metal::Device::createBuffer):
(WebGPU::Metal::Buffer::Buffer):
(WebGPU::Metal::Buffer::getMappedRange):
(WebGPU::Metal::Buffer::getMappedRangeSpan):
(WebGPU::Metal::Buffer::copyFrom):
(WebGPU::Metal::Buffer::errorValidatingMapAsync const):
(WebGPU::Metal::Buffer::mapAsync):
(WebGPU::Metal::Buffer::indirectBufferInvalidated):
(wgpuBufferGetMappedRange):
(mapModeFromAPIIgnoringUnknownBits):
(mapAsyncStatusToAPI):
(wgpuBufferMapAsync):
(wgpuBufferMapAsyncWithBlock):
(wgpuBufferGetUsage):
(wgpuBufferCopy):
(WebGPU::Metal::Buffer::bufferCopy): Deleted.
* Source/WebGPU/WebGPU/Buffer.swift:
(bufferGetMappedRange(_:offset:rangeSize:)):
(WebGPU.getMappedRangeSpan(_:rangeSize:)):
(bufferGetMappedRange(_:offset:size:)): Deleted.
(WebGPU.getMappedRange(_:size:)): Deleted.
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::Metal::Device::createCommandEncoder):
(WebGPU::Metal::timestampWriteIndex):
(WebGPU::Metal::errorValidatingTimestampWrites):
(WebGPU::Metal::CommandEncoder::errorValidatingComputePassDescriptor const):
(WebGPU::Metal::CommandEncoder::beginComputePass):
(WebGPU::Metal::CommandEncoder::errorValidatingRenderPassDescriptor const):
(WebGPU::Metal::CommandEncoder::beginRenderPass):
(WebGPU::Metal::CommandEncoder::errorValidatingCopyBufferToBuffer):
(WebGPU::Metal::CommandEncoder::errorValidatingImageCopyBuffer const):
(WebGPU::Metal::CommandEncoder::errorValidatingCopyBufferToTexture const):
(WebGPU::Metal::CommandEncoder::copyBufferToTexture):
(WebGPU::Metal::CommandEncoder::errorValidatingCopyTextureToBuffer const):
(WebGPU::Metal::CommandEncoder::clearTextureIfNeeded):
(WebGPU::Metal::CommandEncoder::copyTextureToBuffer):
(WebGPU::Metal::CommandEncoder::errorValidatingCopyTextureToTexture const):
(WebGPU::Metal::CommandEncoder::copyTextureToTexture):
(WebGPU::Metal::CommandEncoder::validateClearBuffer):
(WebGPU::Metal::CommandEncoder::clearBuffer):
(WebGPU::Metal::CommandEncoder::finish):
(WebGPU::Metal::validateResolveQuerySet):
(wgpuCommandEncoderBeginComputePass):
(wgpuCommandEncoderBeginRenderPass):
(wgpuCommandEncoderCopyBufferToTexture):
(wgpuCommandEncoderCopyTextureToBuffer):
(wgpuCommandEncoderCopyTextureToTexture):
(wgpuCommandEncoderClearBuffer):
(wgpuCommandEncoderFinish):
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.finish(_:)):
(WebGPU.clearTextureIfNeeded(_:slice:)):
(WebGPU.errorValidatingImageCopyBuffer(_:)):
(WebGPU.errorValidatingRenderPassDescriptor(_:)):
(WebGPU.writeIndex(_:beginning:)):
(WebGPU.errorValidatingTimestampWrites(_:)):
(WebGPU.errorValidatingComputePassDescriptor(_:)):
(WebGPU.loadAction(_:readOnly:)):
(WebGPU.beginRenderPass(_:)):
(WebGPU.copyTextureToBuffer(_:destination:copySize:)):
(WebGPU.copyBufferToTexture(_:destination:copySize:)):
(WebGPU.copyTextureToTexture(_:destination:copySize:)):
(WebGPU.beginComputePass(_:)):
(commandEncoderClearTextureIfNeeded(_:destination:slice:)): Deleted.
(WGPURenderPassColorAttachment.depthSlice): Deleted.
* Source/WebGPU/WebGPU/ComputePassEncoder.h:
* Source/WebGPU/WebGPU/ComputePassEncoder.mm:
(WebGPU::Metal::ComputePassEncoder::ComputePassEncoder):
(WebGPU::Metal::ComputePassEncoder::dispatchIndirect):
(WebGPU::Metal::ComputePassEncoder::setBindGroup):
(wgpuComputePassEncoderSetBindGroup):
* Source/WebGPU/WebGPU/ComputePipeline.mm:
(WebGPU::Metal::Device::createComputePipeline):
(WebGPU::Metal::CompletionHandler<void):
(WebGPU::Metal::Device::createComputePipelineAsync):
(WebGPU::Metal::Device::createComputePipelineWithPipelineLayoutFromPipelineAsync):
* Source/WebGPU/WebGPU/Device.h:
* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Metal::Device::~Device):
(WebGPU::Metal::Device::loseTheDevice):
(WebGPU::Metal::Device::features const):
(WebGPU::Metal::Device::generateAValidationError):
(WebGPU::Metal::Device::generateAnOutOfMemoryError):
(WebGPU::Metal::Device::generateAnInternalError):
(WebGPU::Metal::Device::popErrorScope):
(WebGPU::Metal::Device::pushErrorScope):
(WebGPU::Metal::Device::resolveDeviceLostPromise):
(WebGPU::Metal::Device::resolveUncapturedErrorEvent):
(WebGPU::Metal::Device::enumerateFeatures): Deleted.
(WebGPU::Metal::Device::getLimits): Deleted.
(WebGPU::Metal::Device::setDeviceLostCallback): Deleted.
(WebGPU::Metal::Device::setUncapturedErrorCallback): Deleted.
* Source/WebGPU/WebGPU/ExternalTexture.mm:
(WebGPU::Metal::Device::importExternalTexture):
(WebGPU::Metal::Device::createExternalTexture): Deleted.
* Source/WebGPU/WebGPU/HardwareCapabilities.h:
* Source/WebGPU/WebGPU/HardwareCapabilities.mm:
(WebGPU::Metal::fromAPI): Deleted.
(WebGPU::Metal::toAPI): Deleted.
* Source/WebGPU/WebGPU/Instance.h:
* Source/WebGPU/WebGPU/Instance.mm:
(WebGPU::Metal::Instance::requestAdapter):
(requestAdapter):
(wgpuInstanceRequestAdapter):
(wgpuInstanceRequestAdapterWithBlock):
* Source/WebGPU/WebGPU/Pipeline.h:
* Source/WebGPU/WebGPU/Pipeline.mm:
(WebGPU::Metal::prepareLibrary):
* Source/WebGPU/WebGPU/PipelineLayout.mm:
(WebGPU::Metal::Device::createPipelineLayout):
* Source/WebGPU/WebGPU/PresentationContext.h:
* Source/WebGPU/WebGPU/PresentationContext.mm:
(WebGPU::Metal::PresentationContext::getPreferredFormat):
(WebGPU::Metal::PresentationContext::configure):
(wgpuSurfaceGetPreferredFormat):
(WebGPU::Metal::Device::createSwapChain): Deleted.
* Source/WebGPU/WebGPU/PresentationContextIOSurface.h:
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
* Source/WebGPU/WebGPU/QuerySet.mm:
(WebGPU::Metal::Device::createQuerySet):
* Source/WebGPU/WebGPU/Queue.h:
* Source/WebGPU/WebGPU/Queue.mm:
* Source/WebGPU/WebGPU/RenderBundleEncoder.h:
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::Metal::Device::createRenderBundleEncoder):
(WebGPU::Metal::colorFormats):
(WebGPU::Metal::RenderBundleEncoder::RenderBundleEncoder):
(WebGPU::Metal::RenderBundleEncoder::drawIndexedIndirect):
(WebGPU::Metal::RenderBundleEncoder::drawIndirect):
(WebGPU::Metal::RenderBundleEncoder::finish):
(WebGPU::Metal::RenderBundleEncoder::setBindGroup):
(WebGPU::Metal::RenderBundleEncoder::setBindGroupWithOwnedDynamicOffsets):
(WebGPU::Metal::RenderBundleEncoder::setIndexBuffer):
(WebGPU::Metal::RenderBundleEncoder::setVertexBuffer):
(wgpuRenderBundleEncoderFinish):
(wgpuRenderBundleEncoderSetBindGroupWithDynamicOffsets):
(wgpuRenderBundleEncoderSetIndexBuffer):
(wgpuRenderBundleEncoderSetVertexBuffer):
* Source/WebGPU/WebGPU/RenderPassEncoder.h:
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::Metal::RenderPassEncoder::RenderPassEncoder):
(WebGPU::Metal::RenderPassEncoder::drawIndexedIndirect):
(WebGPU::Metal::RenderPassEncoder::drawIndirect):
(WebGPU::Metal::RenderPassEncoder::executeBundles):
(WebGPU::Metal::RenderPassEncoder::setBindGroup):
(WebGPU::Metal::RenderPassEncoder::setBlendConstant):
(WebGPU::Metal::RenderPassEncoder::setIndexBuffer):
(WebGPU::Metal::RenderPassEncoder::setVertexBuffer):
(wgpuRenderPassEncoderExecuteBundles):
(wgpuRenderPassEncoderSetBindGroup):
(wgpuRenderPassEncoderSetBlendConstant):
(wgpuRenderPassEncoderSetIndexBuffer):
(wgpuRenderPassEncoderSetVertexBuffer):
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::Metal::Device::validateRenderPipeline):
(WebGPU::Metal::createVertexDescriptor):
(WebGPU::Metal::populateStencilOperation):
(WebGPU::Metal::makeBindingLayout):
(WebGPU::Metal::Device::addPipelineLayouts):
(WebGPU::Metal::Device::generatePipelineLayout):
(WebGPU::Metal::colorTargetFormats):
(WebGPU::Metal::writesStencil):
(WebGPU::Metal::errorValidatingDepthStencilState):
(WebGPU::Metal::errorValidatingInterstageShaderInterfaces):
(WebGPU::Metal::Device::createRenderPipeline):
(WebGPU::Metal::CompletionHandler<void):
(WebGPU::Metal::Device::createRenderPipelineAsync):
(WebGPU::Metal::Device::createRenderPipelineWithPipelineLayoutFromPipelineAsync):
(WebGPU::Metal::toBindingLayout): Deleted.
* Source/WebGPU/WebGPU/Sampler.h:
* Source/WebGPU/WebGPU/Sampler.mm:
(WebGPU::Metal::validateCreateSampler):
(WebGPU::Metal::addressMode):
(WebGPU::Metal::minMagFilter):
(WebGPU::Metal::mipFilter):
(WebGPU::Metal::compareFunction):
(WebGPU::Metal::createMetalDescriptorFromDescriptor):
(WebGPU::Metal::tryCacheSamplerState):
(WebGPU::Metal::Device::createSampler):
(WebGPU::Metal::Sampler::Sampler):
(WebGPU::Metal::Sampler::setLabel):
(WebGPU::Metal::Sampler::tryCacheSamplerState const):
* Source/WebGPU/WebGPU/ShaderModule.h:
* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::Metal::earlyCompileShaderModule):
(WebGPU::Metal::handleShaderSuccessOrFailure):
(WebGPU::Metal::Device::createShaderModule):
(WebGPU::Metal::appendMessages):
(WebGPU::Metal::ShaderModule::compilationInfo):
(getCompilationInfo):
(wgpuShaderModuleGetCompilationInfo):
(wgpuShaderModuleGetCompilationInfoWithBlock):
(WebGPU::Metal::findShaderModuleParameters): Deleted.
(WebGPU::Metal::CompilationMessageData::CompilationMessageData): Deleted.
(WebGPU::Metal::convertMessages): Deleted.
(WebGPU::Metal::ShaderModule::getCompilationInfo): Deleted.
* Source/WebGPU/WebGPU/StdLibExtras.swift:
* Source/WebGPU/WebGPU/Texture.h:
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Metal::maximumMiplevelCount):
(WebGPU::Metal::Device::errorValidatingTextureCreation):
(WebGPU::Metal::Texture::usage):
(WebGPU::Metal::storageMode):
(WebGPU::Metal::Device::createTexture):
(WebGPU::Metal::Texture::Texture):
(WebGPU::Metal::resolveAPITextureFormat):
(WebGPU::Metal::Texture::resolveTextureViewDescriptorDefaults const):
(WebGPU::Metal::Texture::arrayLayerCount const):
(WebGPU::Metal::Texture::dimension const):
(WebGPU::Metal::Texture::format const):
(WebGPU::Metal::Texture::errorValidatingTextureViewCreation const):
(WebGPU::Metal::Texture::createView):
(WebGPU::Metal::Texture::logicalMiplevelSpecificTextureExtent):
(WebGPU::Metal::Texture::physicalMiplevelSpecificTextureExtent):
(WebGPU::Metal::imageCopyTextureSubresourceSize):
(WebGPU::Metal::Texture::errorValidatingImageCopyTexture):
(WebGPU::Metal::Texture::errorValidatingTextureCopyRange):
(WebGPU::Metal::Texture::errorValidatingLinearTextureData):
(wgpuTextureCreateView):
(wgpuTextureGetUsage):
* Source/WebGPU/WebGPU/TextureOrTextureView.h:
(WebGPU::Metal::isAllowableTextureView):
(WebGPU::Metal::hasRenderableTextureViewProperties):
(WebGPU::Metal::textureOrTextureView):
(WebGPU::Metal::resolvedColorAttachment):
(WebGPU::Metal::resolvedDepthStencilAttachment):
* Source/WebGPU/WebGPU/TextureView.h:
* Source/WebGPU/WebGPU/TextureView.mm:
(WebGPU::Metal::TextureView::TextureView):
(WebGPU::Metal::TextureView::usage const):
(WebGPU::Metal::TextureView::format const):
(WebGPU::Metal::TextureView::aspect const):
(WebGPU::Metal::TextureView::dimension const):
* Source/WebGPU/WebGPU/WebGPU.h:
(wgpuGetComputePassDescriptorTimestampWrites): Deleted.
(wgpuGetRenderPassDescriptorTimestampWrites): Deleted.
(wgpuGetRenderPassDescriptorColorAttachments): Deleted.
(wgpuGetRenderPassDescriptorDepthStencilAttachment): Deleted.
* Source/WebGPU/WebGPU/WebGPUCppConversions.h:
(WebGPU::Metal::fromAPI):
(WebGPU::Metal::findChainedStruct):
(WebGPU::Metal::toAPI):
(WebGPU::Metal::mapSizeFromAPI):
(WebGPU::Metal::entryPointFromAPI):
(WebGPU::Metal::programmableStageFromAPI):
(WebGPU::Metal::renderPassAttachmentViewFromAPI):
(WebGPU::Metal::optionalOpFromAPI):
(WebGPU::Metal::featuresFromAPI):
* Source/WebGPU/WebGPU/WorkAround173516139.h:
* Source/WebGPU/WebGPU/XRBinding.h:
* Source/WebGPU/WebGPU/XRBinding.mm:
(wgpuBindingCreateXRProjectionLayer):
* Source/WebGPU/WebGPU/XRProjectionLayer.h:
* Source/WebGPU/WebGPU/XRProjectionLayer.mm:
(WebGPU::Metal::XRProjectionLayer::XRProjectionLayer):
(WebGPU::Metal::XRBinding::createProjectionLayer):
(WebGPU::Metal::XRBinding::createXRProjectionLayer): Deleted.
* Source/WebGPU/WebGPU/XRSubImage.mm:
(WebGPU::Metal::createXRTexture):
(WebGPU::Metal::XRSubImage::update):
* Source/WebGPU/WebGPUCpp.h:
(WebGPU::RenderPassDescriptor::colorAttachmentCount const):
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources-output.xcfilelist:

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



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

Reply via email to