wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

Add shader I64 and U64 support

Open atlv24 opened this issue 1 year ago • 0 comments

Connections Part of an incoming series of PRs needed by #5123 Others in this series: #5155 Addresses #4424 Ultimately for bevy meshlets pipeline https://github.com/bevyengine/bevy/pull/10164

Description Shaders currently do not support 64 bit integer types. Add support for these gated by a feature flag when the capability is present.

Testing A snapshot test called i64.wgsl has been added to test parsing, type casting, and other basic operations.

Checklist

  • [x] Run cargo fmt.
  • [x] Run cargo clippy. If applicable, add:
    • [ ] --target wasm32-unknown-unknown
    • [ ] --target wasm32-unknown-emscripten
  • [x] Run cargo xtask test to run tests.
  • [x] Add change to CHANGELOG.md. See simple instructions inside file.

atlv24 avatar Jan 27 '24 23:01 atlv24