forked from ShuriZma/suyu
1
0
Fork 0

metal: add render pass interruption notice

This commit is contained in:
Samuliak 2024-04-08 16:27:28 +02:00
parent 4ea55a855a
commit 2c38fa1a35
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ class Device;
enum class EncoderType { Render, Compute, Blit }; 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 { class CommandRecorder {
public: public:
CommandRecorder(const Device& device_); CommandRecorder(const Device& device_);