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

[WGSL] Add overloads for textureSample #11934

Commits on Mar 28, 2023

  1. [WGSL] Add overloads for textureSample

    https://bugs.webkit.org/show_bug.cgi?id=254431
    rdar://107190590
    
    Reviewed by Myles C. Maxfield.
    
    Add the definitions for the overloads of textureSample that operate on non-depth
    textures. This requires minor modifications to the DSL to support concrete instances
    of types that can also be abstract (i.e. Vector and Matrix). The definitions are a
    little hard to read, and I might revisit it soon, but for now it matches the existing
    definitions.
    
    * Source/WebGPU/WGSL/Overload.h:
    * Source/WebGPU/WGSL/TypeDeclarations.rb:
    * Source/WebGPU/WGSL/generator/main.rb:
    
    Canonical link: https://commits.webkit.org/262204@main
    tadeuzagallo committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    9b4dfec View commit details
    Browse the repository at this point in the history