mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 19:36:55 +02:00
shader: remaining decode and emitter fixes
Decode and SPIR-V emitter corrections this title's shaders need: image and memory operand handling, scalar ALU forms, and the IR plumbing that goes with them.
This commit is contained in:
@@ -89,9 +89,15 @@ bool Translator::EmitScalar(const Decoder::Instruction& inst) {
|
||||
EmitIntegerCompare(inst, IR::ValueOpcode::SLessThanEqual32, IR::Type::U32, true, false);
|
||||
return true;
|
||||
case O::S_CMP_EQ_U64:
|
||||
if (S_CMP_MASK_ANY(inst, false)) {
|
||||
return true;
|
||||
}
|
||||
EmitIntegerCompare(inst, IR::ValueOpcode::IEqual64, IR::Type::U64, true, false);
|
||||
return true;
|
||||
case O::S_CMP_LG_U64:
|
||||
if (S_CMP_MASK_ANY(inst, true)) {
|
||||
return true;
|
||||
}
|
||||
EmitIntegerCompare(inst, IR::ValueOpcode::INotEqual64, IR::Type::U64, true, false);
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user