mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 17:02:40 +00:00
resource_tracking_pass: Fix image write swizzle mistake.
This commit is contained in:
parent
5bea6ef879
commit
cb0650feb4
@ -839,7 +839,7 @@ void PatchImageArgs(IR::Block& block, IR::Inst& inst, Info& info) {
|
||||
auto texel = inst.Arg(4);
|
||||
if (is_storage) {
|
||||
// Storage image requires shader swizzle.
|
||||
ApplySwizzle(ir, texel, image.DstSelect());
|
||||
texel = ApplySwizzle(ir, texel, image.DstSelect());
|
||||
}
|
||||
const auto converted =
|
||||
ApplyWriteNumberConversionVec4(ir, texel, image.GetNumberConversion());
|
||||
|
Loading…
Reference in New Issue
Block a user