diff --git a/src/dxvk/dxvk_deferred.cpp b/src/dxvk/dxvk_deferred.cpp new file mode 100644 index 000000000..7bd071aee --- /dev/null +++ b/src/dxvk/dxvk_deferred.cpp @@ -0,0 +1,8 @@ +#include "dxvk_deferred.h" + +namespace dxvk { + + DxvkDeferredCommands:: DxvkDeferredCommands() { } + DxvkDeferredCommands::~DxvkDeferredCommands() { } + +} \ No newline at end of file diff --git a/src/dxvk/dxvk_deferred.h b/src/dxvk/dxvk_deferred.h new file mode 100644 index 000000000..76633cfe7 --- /dev/null +++ b/src/dxvk/dxvk_deferred.h @@ -0,0 +1,28 @@ +#pragma once + +#include + +#include "dxvk_lifetime.h" +#include "dxvk_recorder.h" + +namespace dxvk { + + /** + * \brief DXVK command list + * + * Stores a command buffer that a context can use to record Vulkan + * commands. The command list shall also reference the resources + * used by the recorded commands for automatic lifetime tracking. + * When the command list has completed execution, resources that + * are no longer used may get destroyed. + */ + class DxvkDeferredCommands : public DxvkRecorder { + + public: + + DxvkDeferredCommands(); + ~DxvkDeferredCommands(); + + }; + +} \ No newline at end of file diff --git a/src/dxvk/meson.build b/src/dxvk/meson.build index 922e8414a..8668300ac 100644 --- a/src/dxvk/meson.build +++ b/src/dxvk/meson.build @@ -3,13 +3,16 @@ dxvk_src = files([ 'dxvk_cmdlist.cpp', 'dxvk_compute.cpp', 'dxvk_context.cpp', + 'dxvk_deferred.cpp', 'dxvk_device.cpp', 'dxvk_framebuffer.cpp', 'dxvk_image.cpp', 'dxvk_instance.cpp', + 'dxvk_layout.cpp', 'dxvk_lifetime.cpp', 'dxvk_main.cpp', 'dxvk_memory.cpp', + 'dxvk_recorder.cpp', 'dxvk_renderpass.cpp', 'dxvk_resource.cpp', 'dxvk_shader.cpp',