[D3D12] Subsystem management order cleanup

This commit is contained in:
Triang3l
2022-05-14 22:30:06 +03:00
parent 60052fb4fc
commit f9b3b90a68
2 changed files with 21 additions and 21 deletions

View File

@@ -427,6 +427,8 @@ class D3D12CommandProcessor : public CommandProcessor {
// of UpdateBindings time, and that's outside the emulator's control even).
bool bindless_resources_used_ = false;
std::unique_ptr<D3D12SharedMemory> shared_memory_;
std::unique_ptr<D3D12RenderTargetCache> render_target_cache_;
std::unique_ptr<ui::d3d12::D3D12UploadBufferPool> constant_buffer_pool_;
@@ -491,8 +493,6 @@ class D3D12CommandProcessor : public CommandProcessor {
ID3D12RootSignature* root_signature_bindless_vs_ = nullptr;
ID3D12RootSignature* root_signature_bindless_ds_ = nullptr;
std::unique_ptr<D3D12SharedMemory> shared_memory_;
std::unique_ptr<D3D12PrimitiveProcessor> primitive_processor_;
std::unique_ptr<PipelineCache> pipeline_cache_;