Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8184bca878623b9819e86c4426f940b5e5bdc809
https://github.com/WebKit/WebKit/commit/8184bca878623b9819e86c4426f940b5e5bdc809
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-10-12 (Mon, 12 Oct 2026)
Changed paths:
M
LayoutTests/http/tests/webgpu/webgpu/api/validation/capability_checks/features/texture_component_swizzle-expected.txt
M LayoutTests/inspector/canvas/recording-webgpu-full-expected.txt
M Source/WebCore/Headers.cmake
M Source/WebCore/Modules/WebGPU/GPUBuffer.cpp
M Source/WebCore/Modules/WebGPU/GPUBuffer.h
M Source/WebCore/Modules/WebGPU/GPUBuffer.idl
M Source/WebCore/Modules/WebGPU/GPUBufferUsage.h
M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
M Source/WebCore/Modules/WebGPU/GPUTexture.cpp
M Source/WebCore/Modules/WebGPU/GPUTexture.h
M Source/WebCore/Modules/WebGPU/GPUTexture.idl
M Source/WebCore/Modules/WebGPU/GPUTextureViewDescriptor.cpp
M Source/WebCore/Modules/WebGPU/GPUTextureViewDescriptor.h
M Source/WebCore/Modules/WebGPU/GPUTextureViewDescriptor.idl
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.h
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUTextureImpl.cpp
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.serialization.in
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUBufferUsage.h
A Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUTextureComponentSwizzle.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUTextureViewDescriptor.h
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/TypeCheck.cpp
M Source/WebGPU/WGSL/WGSLShaderModule.cpp
M Source/WebGPU/WGSL/WGSLShaderModule.h
M Source/WebGPU/WebGPU/BindGroupLayout.mm
M Source/WebGPU/WebGPU/CommandBuffer.h
M Source/WebGPU/WebGPU/CommandBuffer.mm
M Source/WebGPU/WebGPU/CommandEncoder.h
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/CommandEncoder.swift
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.h
M Source/WebGPU/WebGPU/Texture.mm
M Source/WebGPU/WebGPU/WebGPU.h
M Source/WebKit/Shared/WebGPU/WebGPUTextureViewDescriptor.cpp
M Source/WebKit/Shared/WebGPU/WebGPUTextureViewDescriptor.h
M Source/WebKit/Shared/WebGPU/WebGPUTextureViewDescriptor.serialization.in
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteTextureProxy.cpp
Log Message:
-----------
[WebGPU] Make running CTS on the mac-wk2-stress bot more reliable
https://bugs.webkit.org/show_bug.cgi?id=325694
rdar://188746695
Reviewed by Tadeu Zagallo and Cameron McCormack.
Restrict unbounded resource growth which occurs running many tests in parallel,
leading
to IOGPU errors and test flakiness.
* Source/WebCore/Modules/WebGPU/GPUBufferUsage.h:
(WebCore::convertBufferUsageFlagsToBacking):
*
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp:
(WebCore::WebGPU::ConvertToBackingContext::convertBufferUsageFlagsToBacking):
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.serialization.in:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUBufferUsage.h:
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::visit):
(WGSL::RewriteGlobalVariables::readVariable const):
(WGSL::RewriteGlobalVariables::TypeReadCollector::visit):
(WGSL::RewriteGlobalVariables::recordTypeReads):
* Source/WebGPU/WebGPU/BindGroupLayout.mm:
(WebGPU::Metal::Device::createBindGroupLayout):
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::Metal::validateCreateBuffer):
* Source/WebGPU/WebGPU/CommandBuffer.h:
* Source/WebGPU/WebGPU/CommandBuffer.mm:
(WebGPU::Metal::CommandBuffer::~CommandBuffer):
(WebGPU::Metal::CommandBuffer::setPriorCommandBuffers):
(WebGPU::Metal::CommandBuffer::takePriorCommandBuffers):
(WebGPU::Metal::CommandBuffer::releasePriorCommandBuffers):
(WebGPU::Metal::CommandBuffer::makeInvalid):
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::Metal::CommandEncoder::~CommandEncoder):
(WebGPU::Metal::CommandEncoder::releasePriorCommandBuffers):
(WebGPU::Metal::CommandEncoder::rotateCommandBufferIfNeeded):
(WebGPU::Metal::CommandEncoder::makeRenderCommandEncoder):
(WebGPU::Metal::CommandEncoder::canDeferRenderCommandEncoder const):
(WebGPU::Metal::CommandEncoder::encodeDeferredRenderPassTimestamps):
(WebGPU::Metal::CommandEncoder::discardCommandBuffer):
(WebGPU::Metal::CommandEncoder::runClearEncoder):
(WebGPU::Metal::CommandEncoder::beginRenderPass):
(WebGPU::Metal::CommandEncoder::createRenderPassEncoder):
(WebGPU::Metal::CommandEncoder::makeInvalid):
(WebGPU::Metal::CommandEncoder::finish):
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.beginRenderPass(_:)):
* Source/WebGPU/WebGPU/Queue.mm:
* Source/WebGPU/WebGPU/RenderBundleEncoder.h:
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::Metal::RenderBundleEncoder::errorValidatingStripIndexFormat const):
(WebGPU::Metal::RenderBundleEncoder::errorValidatingDrawIndexed const):
(WebGPU::Metal::RenderBundleEncoder::drawIndexed):
(WebGPU::Metal::RenderBundleEncoder::drawIndexedIndirect):
* Source/WebGPU/WebGPU/RenderPassEncoder.h:
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::Metal::RenderPassEncoder::~RenderPassEncoder):
(WebGPU::Metal::RenderPassEncoder::materializeRenderCommandEncoder const):
(WebGPU::Metal::RenderPassEncoder::errorValidatingStripIndexFormat const):
(WebGPU::Metal::RenderPassEncoder::errorValidatingDrawIndexed const):
(WebGPU::Metal::RenderPassEncoder::drawIndexedIndirect):
(WebGPU::Metal::RenderPassEncoder::splitRenderPass):
(WebGPU::Metal::RenderPassEncoder::endPass):
(WebGPU::Metal::RenderPassEncoder::renderCommandEncoder const):
(WebGPU::Metal::RenderPassEncoder::makeInvalid):
* Source/WebGPU/WebGPU/RenderPipeline.h:
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Metal::Device::errorValidatingTextureCreation):
(WebGPU::Metal::Texture::errorValidatingTextureViewCreation const):
* Source/WebGPU/WebGPU/WebGPU.h:
Canonical link: https://commits.webkit.org/323447@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications