mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 07:18:12 -05:00
GPU: Implement Flush Requests for Async mode.
This commit is contained in:
@ -70,12 +70,16 @@ struct FlushAndInvalidateRegionCommand final {
|
||||
u64 size;
|
||||
};
|
||||
|
||||
/// Command to signal to the GPU thread that processing has ended
|
||||
/// Command called within the gpu, to schedule actions after a command list end
|
||||
struct OnCommandListEndCommand final {};
|
||||
|
||||
/// Command to make the gpu look into pending requests
|
||||
struct GPUTickCommand final {};
|
||||
|
||||
using CommandData =
|
||||
std::variant<EndProcessingCommand, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand,
|
||||
InvalidateRegionCommand, FlushAndInvalidateRegionCommand, OnCommandListEndCommand>;
|
||||
InvalidateRegionCommand, FlushAndInvalidateRegionCommand, OnCommandListEndCommand,
|
||||
GPUTickCommand>;
|
||||
|
||||
struct CommandDataContainer {
|
||||
CommandDataContainer() = default;
|
||||
|
Reference in New Issue
Block a user