[webkit-changes] [WebKit/WebKit] aefb96: [WebGPU] Implement deferred compilation for Render...
Tadeu Zagallo
noreply at github.com
Mon Mar 20 09:27:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aefb962a382399124429bcfaf40325debec4848c
https://github.com/WebKit/WebKit/commit/aefb962a382399124429bcfaf40325debec4848c
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj
M Source/WebGPU/WebGPU/ComputePipeline.mm
A Source/WebGPU/WebGPU/Pipeline.h
A Source/WebGPU/WebGPU/Pipeline.mm
M Source/WebGPU/WebGPU/RenderPipeline.mm
Log Message:
-----------
[WebGPU] Implement deferred compilation for RenderPipeline
https://bugs.webkit.org/show_bug.cgi?id=253520
rdar://106365226
Reviewed by Mike Wyrzykowski and Myles C. Maxfield.
So far, for render pipelines, we only support compiling if layout hints are
provided at ShaderModule-creation time. This implements deferred compilation
when creating the pipeline if no hints were provided.
* Source/WebGPU/WebGPU/ComputePipeline.mm:
(WebGPU::Device::createComputePipeline):
(WebGPU::createLibrary): Deleted.
(WebGPU::createConstantValues): Deleted.
(WebGPU::createFunction): Deleted.
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::Device::createRenderPipeline):
Canonical link: https://commits.webkit.org/261874@main
More information about the webkit-changes
mailing list