refactor(recompiler): dispatch image atomics through ImageOpcodeInfoOf #1078
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1078"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MathiasDevelopes on 2026-10-07T09:36:52Z.
What
EmitImageinSpirvImageEmitter.cpplisted all 27ImageAtomic*opcodes by hand to reachEmitAtomicOp, although the function already looks upImageOpcodeInfoOffor the instruction. Every opcode whose access isImageAccess::Atomicnow goes toEmitAtomicOpbefore the switch (+4 / -29).The opcodes that reach
EmitAtomicOpare unchanged: the hand-written case list and the atomic cases ofImageOpcodeInfoOfcontain the same 27 opcodes. A new image atomic opcode now only needs adding toImageOpcodeInfoOf.Tested
Linux, clang:
SpirvImageEmitter.cppcompiles with the same diagnostics as before the change. No title run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs).mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-07T09:37:02Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T12:34:12Z.
Checked that the
ImageAccess::Atomiccases ofImageOpcodeInfoOfare exactly the 27 removed opcodes and that every other opcode still getsImageAccess::None, so dispatch is unchanged; build + full ctest green on top of current main (395/395). Merging.