mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-01 06:16:25 +02:00
misc: chore: Fix object creation in Shader project
This commit is contained in:
parent
7f5a356c3d
commit
ccef0b49eb
10 changed files with 37 additions and 37 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue