From 7f6b3d234a0dd82866e89930f05c520aca94946e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 10 Jan 2022 12:08:00 -0300 Subject: Implement IMUL, PCNT and CONT shader instructions, fix FFMA32I and HFMA32I (#2972) * Implement IMUL shader instruction * Implement PCNT/CONT instruction and fix FFMA32I * Add HFMA232I to the table * Shader cache version bump * No Rc on Ffma32i --- Ryujinx.Graphics.Shader/Translation/Translator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/Translation') diff --git a/Ryujinx.Graphics.Shader/Translation/Translator.cs b/Ryujinx.Graphics.Shader/Translation/Translator.cs index cef25350..709b16db 100644 --- a/Ryujinx.Graphics.Shader/Translation/Translator.cs +++ b/Ryujinx.Graphics.Shader/Translation/Translator.cs @@ -295,7 +295,7 @@ namespace Ryujinx.Graphics.Shader.Translation Operand predSkipLbl = null; - if (op.Name == InstName.Sync || op.Name == InstName.Brk) + if (Decoder.IsPopBranch(op.Name)) { // If the instruction is a SYNC or BRK instruction with only one // possible target address, then the instruction is basically -- cgit v1.2.3