Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ab8a909f6b54dd3ab4c2f34b5caf8c839922779
      
https://github.com/WebKit/WebKit/commit/4ab8a909f6b54dd3ab4c2f34b5caf8c839922779
  Author: Mike Wyrzykowski <mwyrzykow...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to