mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-28 05:45:38 -06:00
Merge branch 'main' into user_and_settings
This commit is contained in:
commit
1c69f35d67
@ -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