forked from ShuriZma/suyu
metal: add render pass interruption notice
This commit is contained in:
parent
4ea55a855a
commit
2c38fa1a35
|
@ -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 New Issue