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

[naga] Add Literal::I64, for signed 64-bit integer literals. #4711

Merged
merged 1 commit into from
Nov 21, 2023

Commits on Nov 20, 2023

  1. [naga] Add Literal::I64, for signed 64-bit integer literals.

    Add an `I64` variant to `crate::Literal`, making `crate::Expression`
    suitable for representing `AbstractFloat` and `AbstractInt` values in
    the WGSL front end.
    
    Make validation reject uses of `Literal::I64` in constant and function
    expression arenas unconditionally. Add tests for this.
    
    Let the frontends and backends for languages that have 64-bit integers
    read/write them.
    jimblandy committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    871192e View commit details
    Browse the repository at this point in the history