mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 01:12:33 +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);
|
auto texel = inst.Arg(4);
|
||||||
if (is_storage) {
|
if (is_storage) {
|
||||||
// Storage image requires shader swizzle.
|
// Storage image requires shader swizzle.
|
||||||
ApplySwizzle(ir, texel, image.DstSelect());
|
texel = ApplySwizzle(ir, texel, image.DstSelect());
|
||||||
}
|
}
|
||||||
const auto converted =
|
const auto converted =
|
||||||
ApplyWriteNumberConversionVec4(ir, texel, image.GetNumberConversion());
|
ApplyWriteNumberConversionVec4(ir, texel, image.GetNumberConversion());
|
||||||
|
Loading…
Reference in New Issue
Block a user