This PR changes the selection mechanism for the command queue. Whenever a command queue is detected via the ExecuteCommandLists hook, the command queue pointer is matched against the memory next to the swap chain. The assumption is that the swap chain will hold a reference to the command queue it uses. This is predicated on the fact that CreateSwapChainForHwnd accepts a command queue in DirectX 12.
A state machine enum implements the requisite logic.
This PR changes the selection mechanism for the command queue. Whenever a command queue is detected via the
ExecuteCommandLists
hook, the command queue pointer is matched against the memory next to the swap chain. The assumption is that the swap chain will hold a reference to the command queue it uses. This is predicated on the fact thatCreateSwapChainForHwnd
accepts a command queue in DirectX 12.A state machine enum implements the requisite logic.
Closes #203.