mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-12 14:48:52 +00:00
Handle R128 bit in MIMG instructions (#3010)
This commit is contained in:
committed by
GitHub
parent
8fffdc3918
commit
2091bc5651
@@ -411,6 +411,7 @@ void PatchImageSharp(IR::Block& block, IR::Inst& inst, Info& info, Descriptors&
|
||||
.is_atomic = IsImageAtomicInstruction(inst),
|
||||
.is_array = bool(inst_info.is_array),
|
||||
.is_written = is_written,
|
||||
.is_r128 = bool(inst_info.is_r128),
|
||||
});
|
||||
|
||||
IR::IREmitter ir{block, IR::Block::InstructionList::s_iterator_to(inst)};
|
||||
|
||||
@@ -44,6 +44,7 @@ union TextureInstInfo {
|
||||
BitField<9, 1, u32> is_array;
|
||||
BitField<10, 1, u32> is_unnormalized;
|
||||
BitField<11, 1, u32> is_gather;
|
||||
BitField<12, 1, u32> is_r128;
|
||||
};
|
||||
|
||||
union BufferInstInfo {
|
||||
|
||||
Reference in New Issue
Block a user