Support VK_EXT_extended_dynamic_state and VK_EXT_extended_dynamic_state2

This commit is contained in:
sunshineinabox
2025-03-24 11:15:33 -05:00
committed by KeatonTheBot
parent 6ca49f912e
commit 0cef96477f
26 changed files with 1475 additions and 636 deletions
@@ -3,18 +3,16 @@ namespace Ryujinx.Graphics.GAL.Multithreading.Commands
struct SetFaceCullingCommand : IGALCommand, IGALCommand<SetFaceCullingCommand>
{
public readonly CommandType CommandType => CommandType.SetFaceCulling;
private bool _enable;
private Face _face;
public void Set(bool enable, Face face)
public void Set(Face face)
{
_enable = enable;
_face = face;
}
public static void Run(ref SetFaceCullingCommand command, ThreadedRenderer threaded, IRenderer renderer)
{
renderer.Pipeline.SetFaceCulling(command._enable, command._face);
renderer.Pipeline.SetFaceCulling(command._face);
}
}
}