mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 01:24:11 +01:00
[dxvk] Added deferred command list stub
This commit is contained in:
parent
77383fa220
commit
d97ccb82d6
8
src/dxvk/dxvk_deferred.cpp
Normal file
8
src/dxvk/dxvk_deferred.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include "dxvk_deferred.h"
|
||||
|
||||
namespace dxvk {
|
||||
|
||||
DxvkDeferredCommands:: DxvkDeferredCommands() { }
|
||||
DxvkDeferredCommands::~DxvkDeferredCommands() { }
|
||||
|
||||
}
|
28
src/dxvk/dxvk_deferred.h
Normal file
28
src/dxvk/dxvk_deferred.h
Normal file
@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include <unordered_set>
|
||||
|
||||
#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();
|
||||
|
||||
};
|
||||
|
||||
}
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user