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

Implement module compaction #2472

Merged
merged 6 commits into from
Sep 20, 2023
Merged

Implement module compaction #2472

merged 6 commits into from
Sep 20, 2023

Commits on Sep 15, 2023

  1. cli: Populate dot backend options in Parameters early.

    This is a step towards having the output loop depend only on `params`,
    rather than both `params` and `args`.
    jimblandy committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    1b38de5 View commit details
    Browse the repository at this point in the history
  2. cli: Change --generate-debug-symbols from option to switch.

    Change `--generate-debug-symbols` from an option that requires a
    value, "true" or "false", to a switch, whose mere presence enables the
    feature.
    jimblandy committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    5fe65f1 View commit details
    Browse the repository at this point in the history
  3. cli: Put a full naga::front::spv::Options in Parameters.

    This lets us gather up the code that influences SPV input.
    jimblandy committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    2fa52ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d883b5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    39cbdee View commit details
    Browse the repository at this point in the history
  6. Implement module compaction.

    Add a new Naga feature, `"compact"`, which adds a new function
    `naga::compact::compact`, which removes unused expressions, types, and
    constants from a `Module`.
    jimblandy committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    793dde0 View commit details
    Browse the repository at this point in the history