From 4770cfa920b606b1496ca9348c3dd69b476dbbbf Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 20 Apr 2021 07:33:54 -0300 Subject: Only enable clip distance if written to on shader (#2217) * Only enable clip distance if written to on shader * Signal InstanceId use through FeatureFlags * Shader cache version bump --- Ryujinx.Graphics.Shader/StructuredIr/StructuredProgramContext.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Ryujinx.Graphics.Shader/StructuredIr/StructuredProgramContext.cs') diff --git a/Ryujinx.Graphics.Shader/StructuredIr/StructuredProgramContext.cs b/Ryujinx.Graphics.Shader/StructuredIr/StructuredProgramContext.cs index 2667be1d..c4d8b85f 100644 --- a/Ryujinx.Graphics.Shader/StructuredIr/StructuredProgramContext.cs +++ b/Ryujinx.Graphics.Shader/StructuredIr/StructuredProgramContext.cs @@ -291,10 +291,6 @@ namespace Ryujinx.Graphics.Shader.StructuredIr { Info.IAttributes.Add(attrIndex); } - else if (operand.Type == OperandType.Attribute && operand.Value == AttributeConsts.InstanceId) - { - Info.UsesInstanceId = true; - } else if (operand.Type == OperandType.ConstantBuffer) { Info.CBuffers.Add(operand.GetCbufSlot()); -- cgit v1.2.3