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

spv-in parse more atomic ops #5824

Draft
wants to merge 21 commits into
base: trunk
Choose a base branch
from

Conversation

schell
Copy link
Contributor

@schell schell commented Jun 16, 2024

Connections
Part of

Depends on

Description

This adds parsing for the following atomic operations to naga::spv::Frontend::next_block:

  • OpAtomicLoad
  • OpAtomicStore
  • OpAtomicExchange
  • OpAtomicCompareExchange
  • OpAtomicCompareExchangeWeak (deprecated)
  • OpAtomicIIncrement was included in spv-in parsing Op::AtomicIIncrement #5702
  • OpAtomicIDecrement (weird issue w/ uninitialized var)
  • OpAtomicIAdd
  • OpAtomicISub
  • OpAtomicSMin
  • OpAtomicUMin
  • OpAtomicSMax
  • OpAtomicUMax
  • OpAtomicAnd
  • OpAtomicOr
  • OpAtomicXor
  • OpAtomicFlagTestAndSet
  • OpAtomicFlagClear

Checklist

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

@schell schell force-pushed the feature/spirv-front-atomics-3-more-ops branch 2 times, most recently from 870dda3 to 521c26d Compare June 17, 2024 23:08
@schell schell force-pushed the feature/spirv-front-atomics-3-more-ops branch from 9c40733 to 6df6ec9 Compare June 23, 2024 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant