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

shader_recompiler: BUFFER_ATOMIC_SWAP Opcode #566

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

lzardy
Copy link
Contributor

@lzardy lzardy commented Aug 24, 2024

Additions:

  • Translation of BUFFER_ATOMIC_SWAP MUBUF instruction
  • BufferAtomicSwap Emitter and IR Opcode
    • Replaces nonexistent BufferAtomicExchange32

Related to issue #496, ref: BUFFER_ATOMIC_SWAP

@raphaelthegreat
Copy link
Collaborator

If you want to rename Exchange to Swap could you also add the 32 postfix so its consistent with other opcodes? Otherwise lgtm (is there any reason this is draft actually?)

@lzardy
Copy link
Contributor Author

lzardy commented Aug 26, 2024

If you want to rename Exchange to Swap could you also add the 32 postfix so its consistent with other opcodes? Otherwise lgtm (is there any reason this is draft actually?)

Okay I have added 32 to end. It is draft as I was only able to display this missing Opcode with an unreal engine game, which needed this PR to start.

@lzardy lzardy marked this pull request as ready for review August 26, 2024 01:42
@raphaelthegreat raphaelthegreat merged commit aae6e5b into shadps4-emu:main Aug 26, 2024
8 checks passed
@rafael-57 rafael-57 mentioned this pull request Sep 2, 2024
22 tasks
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.

2 participants