[webkit-changes] [WebKit/WebKit] 4ab8a9: [WebGPU] Attribute locations should be validated p...
mwyrzykowski
noreply at github.com
Thu Apr 4 10:39:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4ab8a909f6b54dd3ab4c2f34b5caf8c839922779
https://github.com/WebKit/WebKit/commit/4ab8a909f6b54dd3ab4c2f34b5caf8c839922779
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-04-04 (Thu, 04 Apr 2024)
Changed paths:
M Source/WebGPU/WebGPU/RenderPipeline.mm
M Source/WebGPU/WebGPU/ShaderModule.mm
Log Message:
-----------
[WebGPU] Attribute locations should be validated prior to invoking metal compiler
https://bugs.webkit.org/show_bug.cgi?id=272091
<radar://125721108>
Reviewed by Tadeu Zagallo.
Before calling the Metal compiler with attributes which exceed the maximum allowed
value for vertex_stage_in, we should validate these values in createRenderPipeline.
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::errorValidatingVertexStageIn):
(WebGPU::Device::createRenderPipeline):
* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::populateStageInMap):
(WebGPU::parseStageIn):
Canonical link: https://commits.webkit.org/277065@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list