Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f6959b074943547121ec9b005e1832e395b0c060
https://github.com/WebKit/WebKit/commit/f6959b074943547121ec9b005e1832e395b0c060
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-05-06 (Wed, 06 May 2026)
Changed paths:
M Source/WebCore/Modules/WebGPU/GPUTextureUsage.h
M Source/WebCore/Modules/WebGPU/GPUTextureUsage.idl
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.serialization.in
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUTextureUsage.h
M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/CommandEncoder.swift
M Source/WebGPU/WebGPU/Device.mm
M Source/WebGPU/WebGPU/Texture.mm
M Source/WebGPU/WebGPU/TextureOrTextureView.h
M Source/WebGPU/WebGPU/WebGPU.h
Log Message:
-----------
webgpu:api,validation,createTexture:depthOrArrayLayers_and_mipLevelCount_for_transient_attachments:*
is failing
https://bugs.webkit.org/show_bug.cgi?id=313945
rdar://176147461
Reviewed by Tadeu Zagallo.
Add support for transient attachments, which are beneficial for helping reduce
jetsams on iOS due to memory pressure.
Prior to this change,
https://gpuweb.github.io/cts/standalone/?q=webgpu:api,validation,createTexture:depthOrArrayLayers_and_mipLevelCount_for_transient_attachments:*
would print "TRANSIENT_ATTACHMENT is not supported"
WKTR treats both skipped and passing tests as 'PASS' so -expected.txt files did
not change.
* Source/WebCore/Modules/WebGPU/GPUTextureUsage.h:
(WebCore::convertTextureUsageFlagsToBacking):
* Source/WebCore/Modules/WebGPU/GPUTextureUsage.idl:
*
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp:
(WebCore::WebGPU::ConvertToBackingContext::convertTextureUsageFlagsToBacking):
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.serialization.in:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUTextureUsage.h:
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm:
(WebCore::GPUCanvasContextCocoa::configure):
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::beginRenderPass):
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.beginRenderPass(_:)):
* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Device::indexBufferClampPipeline):
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Device::errorValidatingTextureCreation):
(WebGPU::storageMode):
(WebGPU::Device::createTexture):
(WebGPU::Texture::createView):
* Source/WebGPU/WebGPU/TextureOrTextureView.h:
(WebGPU::isRenderableTextureView):
(WebGPU::isAllowableTextureView):
* Source/WebGPU/WebGPU/WebGPU.h:
Canonical link: https://commits.webkit.org/312699@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications