[D3D12] Refactor compute pipeline creation

This commit is contained in:
Triang3l
2018-08-26 00:56:41 +03:00
parent 791c275fab
commit 79d43bb943
4 changed files with 52 additions and 54 deletions

View File

@@ -30,6 +30,11 @@ inline bool ReleaseAndNull(T& object) {
ID3D12RootSignature* CreateRootSignature(ID3D12Device* device,
const D3D12_ROOT_SIGNATURE_DESC& desc);
ID3D12PipelineState* CreateComputePipeline(ID3D12Device* device,
const void* shader,
size_t shader_size,
ID3D12RootSignature* root_signature);
} // namespace util
} // namespace d3d12
} // namespace ui