mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-09 11:11:29 -06:00
Fix return type for ImageAtomicU32CmpSwap (#4115)
Somedays I wonder how I miss these details. But hey, least there are two other people who also missed this 😅
This commit is contained in:
parent
3ee06a91df
commit
ac3786f533
@ -147,7 +147,7 @@ Id ImageAtomicU32CmpSwap(EmitContext& ctx, IR::Inst* inst, u32 handle, Id coords
|
||||
const auto& texture = ctx.images[handle & 0xFFFF];
|
||||
const Id pointer{ctx.OpImageTexelPointer(ctx.image_u32, texture.id, coords, ctx.ConstU32(0U))};
|
||||
const auto [scope, semantics]{AtomicArgs(ctx)};
|
||||
return (ctx.*atomic_func)(ctx.F32[1], pointer, scope, semantics, semantics, value, cmp_value);
|
||||
return (ctx.*atomic_func)(ctx.U32[1], pointer, scope, semantics, semantics, value, cmp_value);
|
||||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user