diff options
Diffstat (limited to 'src/video_core/gpu_thread.h')
| -rw-r--r-- | src/video_core/gpu_thread.h | 8 |
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 |
| 74 | struct OnCommandListEndCommand final {}; | 74 | struct OnCommandListEndCommand final {}; |
| 75 | 75 | ||
| 76 | /// Command to make the gpu look into pending requests | ||
| 77 | struct GPUTickCommand final {}; | ||
| 78 | |||
| 76 | using CommandData = | 79 | using 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 | ||
| 80 | struct CommandDataContainer { | 84 | struct CommandDataContainer { |
| 81 | CommandDataContainer() = default; | 85 | CommandDataContainer() = default; |