From 2c38fa1a357dfcc8059acbd43796abb0597fec8c Mon Sep 17 00:00:00 2001 From: Samuliak Date: Mon, 8 Apr 2024 16:27:28 +0200 Subject: [PATCH] metal: add render pass interruption notice --- src/video_core/renderer_metal/mtl_command_recorder.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video_core/renderer_metal/mtl_command_recorder.h b/src/video_core/renderer_metal/mtl_command_recorder.h index 705874a31a..ca7a1128b6 100644 --- a/src/video_core/renderer_metal/mtl_command_recorder.h +++ b/src/video_core/renderer_metal/mtl_command_recorder.h @@ -12,6 +12,9 @@ class Device; enum class EncoderType { Render, Compute, Blit }; +// TODO: whenever a render pass gets interrupted by either a compute or blit command and application +// then tries to perform a render command, begin the same render pass, but with all load actions set +// to "load" class CommandRecorder { public: CommandRecorder(const Device& device_);