summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r--src/video_core/gpu_thread.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index 9d0877921..5a28335d6 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -70,12 +70,16 @@ struct FlushAndInvalidateRegionCommand final {
70 u64 size; 70 u64 size;
71}; 71};
72 72
73/// Command to signal to the GPU thread that processing has ended 73/// Command called within the gpu, to schedule actions after a command list end
74struct OnCommandListEndCommand final {}; 74struct OnCommandListEndCommand final {};
75 75
76/// Command to make the gpu look into pending requests
77struct GPUTickCommand final {};
78
76using CommandData = 79using CommandData =
77 std::variant<EndProcessingCommand, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand, 80 std::variant<EndProcessingCommand, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand,
78 InvalidateRegionCommand, FlushAndInvalidateRegionCommand, OnCommandListEndCommand>; 81 InvalidateRegionCommand, FlushAndInvalidateRegionCommand, OnCommandListEndCommand,
82 GPUTickCommand>;
79 83
80struct CommandDataContainer { 84struct CommandDataContainer {
81 CommandDataContainer() = default; 85 CommandDataContainer() = default;