[webkit-changes] [WebKit/WebKit] ad4a95: [WebGPU] api, validation, gpu_external_texture_expir...
mwyrzykowski
noreply at github.com
Wed Feb 7 17:49:05 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ad4a95f27e125bb47ac3e95b8bb025b0b20287aa
https://github.com/WebKit/WebKit/commit/ad4a95f27e125bb47ac3e95b8bb025b0b20287aa
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-02-07 (Wed, 07 Feb 2024)
Changed paths:
M LayoutTests/http/tests/webgpu/common/framework/fixture.js
M LayoutTests/http/tests/webgpu/common/internal/version.js
M LayoutTests/http/tests/webgpu/cts-chunked2sec.https.html
M LayoutTests/http/tests/webgpu/cts.https.html
M LayoutTests/http/tests/webgpu/resources/cache/hashes.json
M LayoutTests/http/tests/webgpu/resources/cache/webgpu/shader/execution/bitcast.bin
M LayoutTests/http/tests/webgpu/webgpu/api/operation/command_buffer/copyTextureToTexture.spec.js
M LayoutTests/http/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxVertexBuffers.spec.js
A LayoutTests/http/tests/webgpu/webgpu/api/validation/gpu_external_texture_expiration-expected.txt
M LayoutTests/http/tests/webgpu/webgpu/compat/api/validation/encoding/cmds/copyTextureToTexture.spec.js
M LayoutTests/http/tests/webgpu/webgpu/web_platform/util.js
M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
M Source/WebCore/Modules/WebGPU/GPUDevice.h
M Source/WebCore/Modules/WebGPU/GPUExternalTexture.cpp
M Source/WebCore/Modules/WebGPU/GPUExternalTexture.h
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUExternalTextureImpl.cpp
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUExternalTextureImpl.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUExternalTexture.h
M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm
M Source/WebGPU/WebGPU/BindGroup.h
M Source/WebGPU/WebGPU/Buffer.h
M Source/WebGPU/WebGPU/Buffer.mm
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/ExternalTexture.h
M Source/WebGPU/WebGPU/ExternalTexture.mm
M Source/WebGPU/WebGPU/Queue.mm
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
M Source/WebGPU/WebGPU/WebGPUExt.h
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.messages.in
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteExternalTexture.cpp
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteExternalTexture.h
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteExternalTexture.messages.in
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteExternalTextureProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteExternalTextureProxy.h
Log Message:
-----------
[WebGPU] api,validation,gpu_external_texture_expiration,* is failing
https://bugs.webkit.org/show_bug.cgi?id=267288
<radar://120727386>
Reviewed by Tadeu Zagallo.
Add validation, updated tests, and passing expectations for api,validation,gpu_external_texture_expiration,*
* LayoutTests/http/tests/webgpu/common/framework/fixture.js:
(export.Fixture.prototype.async finalize):
* LayoutTests/http/tests/webgpu/common/internal/version.js:
* LayoutTests/http/tests/webgpu/cts-chunked2sec.https.html:
* LayoutTests/http/tests/webgpu/cts.https.html:
* LayoutTests/http/tests/webgpu/resources/cache/hashes.json:
* LayoutTests/http/tests/webgpu/webgpu/api/operation/command_buffer/copyTextureToTexture.spec.js:
* LayoutTests/http/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxVertexBuffers.spec.js:
(getPipelineDescriptor):
(true.fn.async t.async t):
(true.fn.async t.async const):
(true.fn.async t):
* LayoutTests/http/tests/webgpu/webgpu/api/validation/gpu_external_texture_expiration-expected.txt: Added.
* LayoutTests/http/tests/webgpu/webgpu/compat/api/validation/encoding/cmds/copyTextureToTexture.spec.js:
(fn):
(kAllTextureFormats.filter):
* LayoutTests/http/tests/webgpu/webgpu/web_platform/util.js:
* Source/WebCore/Modules/WebGPU/GPUAdapter.cpp:
(WebCore::GPUAdapter::requestDevice):
* Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
(WebCore::GPUDevice::externalTextureForDescriptor):
(WebCore::GPUDevice::importExternalTexture):
* Source/WebCore/Modules/WebGPU/GPUDevice.h:
* Source/WebCore/Modules/WebGPU/GPUExternalTexture.cpp:
(WebCore::GPUExternalTexture::destroy):
(WebCore::GPUExternalTexture::undestroy):
* Source/WebCore/Modules/WebGPU/GPUExternalTexture.h:
* Source/WebCore/Modules/WebGPU/Implementation/WebGPUExternalTextureImpl.cpp:
(WebCore::WebGPU::ExternalTextureImpl::destroy):
(WebCore::WebGPU::ExternalTextureImpl::undestroy):
* Source/WebCore/Modules/WebGPU/Implementation/WebGPUExternalTextureImpl.h:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUExternalTexture.h:
* Source/WebCore/dom/TaskSource.h:
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm:
(WebCore::GPUCanvasContextCocoa::prepareForDisplay):
* Source/WebGPU/WebGPU/BindGroup.h:
* Source/WebGPU/WebGPU/Buffer.h:
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::Buffer::setCommandEncoder const):
(WebGPU::Buffer::unmap):
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::makeSubmitInvalid):
* Source/WebGPU/WebGPU/ExternalTexture.h:
* Source/WebGPU/WebGPU/ExternalTexture.mm:
(WebGPU::ExternalTexture::destroy):
(WebGPU::ExternalTexture::undestroy):
(WebGPU::ExternalTexture::setCommandEncoder const):
(WebGPU::ExternalTexture::isDestroyed const):
(wgpuExternalTextureDestroy):
(wgpuExternalTextureUndestroy):
* Source/WebGPU/WebGPU/Queue.mm:
(WebGPU::Queue::submit):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::setCommandEncoder):
* Source/WebGPU/WebGPU/WebGPUExt.h:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp:
(WebKit::RemoteBuffer::RemoteBuffer):
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.h:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.cpp:
(WebKit::RemoteDevice::createBuffer):
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.messages.in:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteExternalTexture.cpp:
(WebKit::RemoteExternalTexture::destroy):
(WebKit::RemoteExternalTexture::undestroy):
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteExternalTexture.h:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteExternalTexture.messages.in:
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteExternalTextureProxy.cpp:
(WebKit::WebGPU::RemoteExternalTextureProxy::destroy):
(WebKit::WebGPU::RemoteExternalTextureProxy::undestroy):
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteExternalTextureProxy.h:
Canonical link: https://commits.webkit.org/274258@main
More information about the webkit-changes
mailing list