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 wgsl] Implement local const declarations #6156

Merged
merged 6 commits into from
Aug 30, 2024

Commits on Aug 27, 2024

  1. [wgsl-in] Add LocalConst and handle it

    Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
    sagudev committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d5ac547 View commit details
    Browse the repository at this point in the history
  2. [wgsl-out] Write const named expr as const declarations

    Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
    sagudev committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6125ab4 View commit details
    Browse the repository at this point in the history
  3. Workaround for some builtins not implemented as constant expression

    Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
    sagudev committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8e967db View commit details
    Browse the repository at this point in the history
  4. Update test expectations

    Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
    sagudev committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    f13bd64 View commit details
    Browse the repository at this point in the history
  5. Tests for local consts

    Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
    sagudev committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    fba1985 View commit details
    Browse the repository at this point in the history
  6. rebase fixes

    Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
    sagudev committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    428f74e View commit details
    Browse the repository at this point in the history