[D3D12] Change most subsystem pointers to references

This commit is contained in:
Triang3l
2020-08-30 22:07:35 +03:00
parent c5dd7403f0
commit 1e9ee8f43b
23 changed files with 532 additions and 538 deletions

View File

@@ -25,7 +25,7 @@ class D3D12CommandProcessor;
class DeferredCommandList {
public:
DeferredCommandList(D3D12CommandProcessor* command_processor,
DeferredCommandList(D3D12CommandProcessor& command_processor,
size_t initial_size = 256 * 1024);
void Reset();
@@ -462,7 +462,7 @@ class DeferredCommandList {
void* WriteCommand(Command command, size_t arguments_size);
D3D12CommandProcessor* command_processor_;
D3D12CommandProcessor& command_processor_;
std::vector<uint8_t> command_stream_;
};