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
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user