mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-04 20:35:46 +00:00
misc: chore: Fix object creation in Shader project
This commit is contained in:
@@ -192,7 +192,7 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||
component = subIndex;
|
||||
}
|
||||
|
||||
TransformFeedbackVariable transformFeedbackVariable = new TransformFeedbackVariable(ioVariable, location, component);
|
||||
TransformFeedbackVariable transformFeedbackVariable = new(ioVariable, location, component);
|
||||
_transformFeedbackDefinitions.TryAdd(transformFeedbackVariable, transformFeedbackOutputs[wordOffset]);
|
||||
}
|
||||
}
|
||||
@@ -219,7 +219,7 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||
return false;
|
||||
}
|
||||
|
||||
TransformFeedbackVariable transformFeedbackVariable = new TransformFeedbackVariable(ioVariable, location, component);
|
||||
TransformFeedbackVariable transformFeedbackVariable = new(ioVariable, location, component);
|
||||
return _transformFeedbackDefinitions.TryGetValue(transformFeedbackVariable, out transformFeedbackOutput);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user