Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow WebGPU to compile non-WGSL source #6282

Commits on Nov 15, 2022

  1. Allow WebGPU to compile non-WGSL source

    https://bugs.webkit.org/show_bug.cgi?id=247657
    <radar://102116179>
    
    Reviewed by Myles C. Maxfield.
    
    To facilitate testing, use the string passed to createShaderModule for
    compiling the MTLLibrary if the WGSL compiler gives a zero length string.
    
    * Source/WebGPU/WebGPU/ShaderModule.mm:
    (WebGPU::earlyCompileShaderModule):
    (WebGPU::Device::createShaderModule):
    
    * Websites/webkit.org/demos/webgpu/scripts/hello-triangle.js:
    (async helloTriangle):
    
    Canonical link: https://commits.webkit.org/256707@main
    mwyrzykowski committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    e951de7 View commit details
    Browse the repository at this point in the history