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

Bumping wgpu from 0.14.2 to 0.15.1 #168

Closed
wants to merge 7 commits into from
Closed

Bumping wgpu from 0.14.2 to 0.15.1 #168

wants to merge 7 commits into from

Commits on Feb 23, 2023

  1. Updating wgpu from 0.14.2 to 0.15.1

    Updated all code necessary to run on wgpu 0.15. For now the new
    view_formats aren't really used and just contain the same format as the
    texture. The new instance descriptor uses the FXC compiler for Windows
    and all others. For all others it shouldn't matter as it is Windows
    only. For Windows the possibility of using the DXC compiler should be
    explored as it seems to be a better alternative to FXC
    (https://docs.rs/wgpu-types/0.15.1/wgpu_types/enum.Dx12Compiler.html#variants).
    jpteb committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    99c8587 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Update wgsl shader code, to conform to wgpu 0.15

    In wgpu 0.15 global let statements in wgsl shader code was removed in
    favor of global const statements. This commit addresses those changes.
    jpteb committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    d75b90d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ee1517 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdd2ce6 View commit details
    Browse the repository at this point in the history
  4. Reverting last commit and correctly remove redefinition

    The last commit removed the MeshMetadata shader code from a shader which
    was used as a header and broke other code. This commit readds it to the
    header shader and removes it from the actual offending shader with a
    double definition.
    jpteb committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    0758deb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6aa0a73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c842aa9 View commit details
    Browse the repository at this point in the history