aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-01-21 12:18:05 -0300
committerGitHub <noreply@github.com>2023-01-21 12:18:05 -0300
commit6adf15e479b684cad7a783e7a1a056be087fdc02 (patch)
tree857c8b14af4e49c2aa939b1496d7f53f304247bb /Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs
parent2747f125918951673b298964889276ded5de935d (diff)
Implement CSET and CSETP shader instructions (#4318)1.1.583
* Implement CSET and CSETP shader instructions * Shader cache version bump * Fix CC.HI
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs
index ddd90f8e..dcdb189f 100644
--- a/Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs
+++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitIntegerComparison.cs
@@ -11,23 +11,6 @@ namespace Ryujinx.Graphics.Shader.Instructions
{
static partial class InstEmit
{
- public static void Csetp(EmitterContext context)
- {
- InstCsetp op = context.GetOp<InstCsetp>();
-
- // TODO: Implement that properly.
-
- Operand p0Res = Const(IrConsts.True);
- Operand p1Res = context.BitwiseNot(p0Res);
- Operand srcPred = GetPredicate(context, op.SrcPred, op.SrcPredInv);
-
- p0Res = GetPredLogicalOp(context, op.Bop, p0Res, srcPred);
- p1Res = GetPredLogicalOp(context, op.Bop, p1Res, srcPred);
-
- context.Copy(Register(op.DestPred, RegisterType.Predicate), p0Res);
- context.Copy(Register(op.DestPredInv, RegisterType.Predicate), p1Res);
- }
-
public static void IcmpR(EmitterContext context)
{
InstIcmpR op = context.GetOp<InstIcmpR>();