mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-02 13:02:44 +01:00
metal: add render pass interruption notice
This commit is contained in:
parent
4ea55a855a
commit
2c38fa1a35
1 changed files with 3 additions and 0 deletions
|
@ -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_);
|
||||||
|
|
Loading…
Reference in a new issue