aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.h
diff options
context:
space:
mode:
authorBehunin <l3ehunin@gmail.com>2023-02-07 17:21:17 -0700
committerBehunin <l3ehunin@gmail.com>2023-02-07 17:21:17 -0700
commit09f64e648ae0ccbb0a3fea41c8505d5d48b0e1eb (patch)
treeb9cc5d32be6861f48b4173a0a31dbe8823e79c08 /src/video_core/gpu_thread.h
parent5bfb5c5283b81105434ec66a3923d2a10f35fe73 (diff)
Remove OnCommandListEndCommand
Call rasterizer->ReleaseFences() directly
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 c71a419c75..90bcb5958f 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -77,16 +77,12 @@ struct FlushAndInvalidateRegionCommand final {
u64 size;
};
-/// 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<std::monostate, SubmitListCommand, SwapBuffersCommand, FlushRegionCommand,
- InvalidateRegionCommand, FlushAndInvalidateRegionCommand, OnCommandListEndCommand,
- GPUTickCommand>;
+ InvalidateRegionCommand, FlushAndInvalidateRegionCommand, GPUTickCommand>;
struct CommandDataContainer {
CommandDataContainer() = default;
@@ -134,8 +130,6 @@ public:
/// Notify rasterizer that any caches of the specified region should be flushed and invalidated
void FlushAndInvalidateRegion(VAddr addr, u64 size);
- void OnCommandListEnd();
-
void TickGPU();
private: