summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.h
diff options
context:
space:
mode:
authorGravatar liamwhite2023-02-11 10:28:30 -0500
committerGravatar GitHub2023-02-11 10:28:30 -0500
commit1040f1f5038832f12d71d6b80924d81b6c4d607c (patch)
tree40eace73fde2c2d6104a16e437eff79f624ef387 /src/video_core/gpu_thread.h
parentMerge pull request #9742 from liamwhite/svc-wrap-only (diff)
parentRemove OnCommandListEndCommand (diff)
downloadyuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar.gz
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar.xz
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.zip
Merge pull request #9744 from behunin/quick-release
gpu_thread: Remove OnCommandListEndCommand
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r--src/video_core/gpu_thread.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index c71a419c7..90bcb5958 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -77,16 +77,12 @@ struct FlushAndInvalidateRegionCommand final {
77 u64 size; 77 u64 size;
78}; 78};
79 79
80/// Command called within the gpu, to schedule actions after a command list end
81struct OnCommandListEndCommand final {};
82
83/// Command to make the gpu look into pending requests 80/// Command to make the gpu look into pending requests
84struct GPUTickCommand final {}; 81struct GPUTickCommand final {};
85 82
86using CommandData = 83using CommandData =
87 std::variant<std::monostate, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand, 84 std::variant<std::monostate, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand,
88 InvalidateRegionCommand, FlushAndInvalidateRegionCommand, OnCommandListEndCommand, 85 InvalidateRegionCommand, FlushAndInvalidateRegionCommand, GPUTickCommand>;
89 GPUTickCommand>;
90 86
91struct CommandDataContainer { 87struct CommandDataContainer {
92 CommandDataContainer() = default; 88 CommandDataContainer() = default;
@@ -134,8 +130,6 @@ public:
134 /// Notify rasterizer that any caches of the specified region should be flushed and invalidated 130 /// Notify rasterizer that any caches of the specified region should be flushed and invalidated
135 void FlushAndInvalidateRegion(VAddr addr, u64 size); 131 void FlushAndInvalidateRegion(VAddr addr, u64 size);
136 132
137 void OnCommandListEnd();
138
139 void TickGPU(); 133 void TickGPU();
140 134
141private: 135private: