shader_recompiler/frontend: Implement bitcmp instructions (#1550)

This commit is contained in:
Daniel R. 2024-11-19 21:38:32 +01:00 committed by GitHub
parent c45af9a2ca
commit 17c47bcd96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 52 additions and 0 deletions

View file

@ -174,6 +174,13 @@ T Translator::GetSrc(const InstOperand& operand) {
value = ir.GetM0();
}
break;
case OperandField::Scc:
if constexpr (is_float) {
UNREACHABLE();
} else {
value = ir.BitCast<IR::U32>(ir.GetScc());
}
break;
default:
UNREACHABLE();
}