Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: a52f380e134ee19c76e3714651bfd3b85649c417 https://github.com/WebKit/WebKit/commit/a52f380e134ee19c76e3714651bfd3b85649c417 Author: Mike Wyrzykowski <mwyrzykow...@apple.com> Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths: M LayoutTests/http/tests/webgpu/webgpu/api/validation/createView-expected.txt M LayoutTests/http/tests/webgpu/webgpu/api/validation/resource_usages/texture/in_render_misc-expected.txt M LayoutTests/platform/mac-wk2/TestExpectations M Source/WebCore/Modules/WebGPU/GPUTexture.cpp M Source/WebCore/Modules/WebGPU/GPUTextureViewDescriptor.h M Source/WebCore/Modules/WebGPU/GPUTextureViewDescriptor.idl M Source/WebCore/Modules/WebGPU/Implementation/WebGPUTextureImpl.cpp M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUTextureViewDescriptor.h M Source/WebGPU/WebGPU/PresentationContextCoreAnimation.mm 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 Log Message: ----------- [WebGPU] webgpu:api,validation,createView:* is failing https://bugs.webkit.org/show_bug.cgi?id=297801 rdar://158964197 Reviewed by Tadeu Zagallo. GPUTextureViewDescriptor has a usage but we didn't support it. Add the usage paramater along with validation such that all test cases under createView pass. * LayoutTests/http/tests/webgpu/webgpu/api/validation/createView-expected.txt: Add passing expectations. * LayoutTests/platform/mac-wk2/TestExpectations: Stop skipping test. * Source/WebCore/Modules/WebGPU/GPUTexture.cpp: (WebCore::convertToBacking): * Source/WebCore/Modules/WebGPU/GPUTextureViewDescriptor.h: (WebCore::GPUTextureViewDescriptor::convertToBacking const): * Source/WebCore/Modules/WebGPU/GPUTextureViewDescriptor.idl: * Source/WebCore/Modules/WebGPU/Implementation/WebGPUDeviceImpl.cpp: (WebCore::WebGPU::DeviceImpl::createBindGroup): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUTextureImpl.cpp: (WebCore::WebGPU::TextureImpl::createView): * Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUTextureViewDescriptor.h: * Source/WebGPU/WebGPU/PresentationContextCoreAnimation.mm: (WebGPU::PresentationContextCoreAnimation::Configuration::generateCurrentFrameState): * Source/WebGPU/WebGPU/Texture.mm: (WebGPU::Texture::createView): * Source/WebGPU/WebGPU/WebGPU.h: * Source/WebKit/Shared/WebGPU/WebGPUTextureViewDescriptor.cpp: (WebKit::WebGPU::ConvertToBackingContext::convertToBacking): (WebKit::WebGPU::ConvertFromBackingContext::convertFromBacking): * Source/WebKit/Shared/WebGPU/WebGPUTextureViewDescriptor.h: * Source/WebKit/Shared/WebGPU/WebGPUTextureViewDescriptor.serialization.in: Canonical link: https://commits.webkit.org/299171@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes