Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8e166397db87d25722f77438fa0acb6bb7b4e784
https://github.com/WebKit/WebKit/commit/8e166397db87d25722f77438fa0acb6bb7b4e784
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-06-01 (Mon, 01 Jun 2026)
Changed paths:
A LayoutTests/fast/webgpu/primitive-index-expected.txt
A LayoutTests/fast/webgpu/primitive-index.html
M Source/WebCore/Modules/WebGPU/GPUAdapter.cpp
M Source/WebCore/Modules/WebGPU/GPUFeatureName.h
M Source/WebCore/Modules/WebGPU/GPUFeatureName.idl
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUFeatureName.h
M Source/WebGPU/WGSL/IOValidator.cpp
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/Parser.cpp
M Source/WebGPU/WGSL/WGSL.cpp
M Source/WebGPU/WGSL/WGSLEnums.h
M Source/WebGPU/WebGPU/HardwareCapabilities.mm
M Source/WebGPU/WebGPU/RenderPipeline.mm
M Source/WebGPU/WebGPU/ShaderModule.h
M Source/WebGPU/WebGPU/ShaderModule.mm
M Source/WebGPU/WebGPU/WebGPU.h
M Source/WebKit/Shared/WebGPU/WebGPUFeatureName.serialization.in
Log Message:
-----------
webgpu.github.io/webgpu-samples/?sample=primitivePicking fails to open in
Safari
https://bugs.webkit.org/show_bug.cgi?id=315876
rdar://178277160
Reviewed by Dan Glastonbury.
Mostly mechanical changes so
webgpu.github.io/webgpu-samples/?sample=primitivePicking
works in Safari.
Test: fast/webgpu/primitive-index.html
* LayoutTests/fast/webgpu/primitive-index-expected.txt: Added.
* LayoutTests/fast/webgpu/primitive-index.html: Added.
* Source/WebCore/Modules/WebGPU/GPUAdapter.cpp:
(WebCore::convertFeatureNameToEnum):
* Source/WebCore/Modules/WebGPU/GPUFeatureName.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUFeatureName.idl:
*
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp:
(WebCore::WebGPU::ConvertToBackingContext::convertToBacking):
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUFeatureName.h:
* Source/WebGPU/WGSL/IOValidator.cpp:
(WGSL::IOValidator::validateBuiltinIO):
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseEnableDirective):
(WGSL::Parser<Lexer>::parseAttribute):
* Source/WebGPU/WGSL/WGSL.cpp:
(WGSL::wgslExtensionToWebGPUFeatureName):
* Source/WebGPU/WGSL/WGSLEnums.h:
* Source/WebGPU/WebGPU/HardwareCapabilities.mm:
(WebGPU::baseFeatures):
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::errorValidatingInterstageShaderInterfaces):
* Source/WebGPU/WebGPU/ShaderModule.h:
* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::ShaderModule::usesPrimitiveIndexInInput const):
(WebGPU::ShaderModule::populateFragmentInputs):
(wgpuAdapterFeatureName):
* Source/WebGPU/WebGPU/WebGPU.h:
* Source/WebKit/Shared/WebGPU/WebGPUFeatureName.serialization.in:
Canonical link: https://commits.webkit.org/314288@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications