[D3D12] Shared memory - heap creation

This commit is contained in:
Triang3l
2018-07-25 00:47:02 +03:00
parent 82f2abed0d
commit ae1196f29d
4 changed files with 198 additions and 1 deletions

View File

@@ -51,6 +51,12 @@ bool D3D12CommandProcessor::SetupContext() {
}
}
shared_memory_ = std::make_unique<SharedMemory>(context);
if (!shared_memory_->Initialize()) {
XELOGE("Failed to initialize shared memory");
return false;
}
pipeline_cache_ = std::make_unique<PipelineCache>(register_file_, context);
return true;