mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 17:34:52 +00:00
shader_recompiler: Even more instructions
This commit is contained in:
parent
30199fe701
commit
741427040f
7 changed files with 25 additions and 3 deletions
|
@ -470,4 +470,12 @@ void Translator::V_CMP_NE_U64(const GcnInst& inst) {
|
|||
}
|
||||
}
|
||||
|
||||
void Translator::V_BFI_B32(const GcnInst& inst) {
|
||||
const IR::U32 src0{GetSrc(inst.src[0])};
|
||||
const IR::U32 src1{GetSrc(inst.src[1])};
|
||||
const IR::U32 src2{GetSrc(inst.src[2])};
|
||||
SetDst(inst.dst[0], ir.BitwiseOr(ir.BitwiseAnd(src0, src1),
|
||||
ir.BitwiseAnd(ir.BitwiseNot(src0), src2)));
|
||||
}
|
||||
|
||||
} // namespace Shader::Gcn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue