mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-09-14 05:55:43 +00:00
misc: chore: Use collection expressions in Gpu project
This commit is contained in:
@@ -91,8 +91,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
||||
// The vertex buffer state may be forced dirty when a indexed draw starts, the "VertexBufferStateIndex"
|
||||
// constant must be updated if modified.
|
||||
// The order of the other state updates doesn't matter.
|
||||
_updateTracker = new StateUpdateTracker<ThreedClassState>(new[]
|
||||
{
|
||||
_updateTracker = new StateUpdateTracker<ThreedClassState>([
|
||||
new StateUpdateCallbackEntry(UpdateVertexBufferState,
|
||||
nameof(ThreedClassState.VertexBufferDrawState),
|
||||
nameof(ThreedClassState.VertexBufferInstanced),
|
||||
@@ -207,8 +206,8 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
||||
nameof(ThreedClassState.RtDepthStencilState),
|
||||
nameof(ThreedClassState.RtControl),
|
||||
nameof(ThreedClassState.RtDepthStencilSize),
|
||||
nameof(ThreedClassState.RtDepthStencilEnable)),
|
||||
});
|
||||
nameof(ThreedClassState.RtDepthStencilEnable))
|
||||
]);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user