[D3D12] Pipeline cache

This commit is contained in:
Triang3l
2018-07-28 16:30:47 +03:00
parent 4f7edff19d
commit ae7ff58f81
5 changed files with 845 additions and 36 deletions

View File

@@ -28,6 +28,10 @@ class D3D12Shader : public Shader {
const uint8_t* GetDXBC() const;
size_t GetDXBCSize() const;
// TODO(Triang3l): Real texture counts.
uint32_t GetTextureSRVCount() const { return 0; }
uint32_t GetSamplerCount() const { return 0; }
private:
ID3DBlob* blob_ = nullptr;
};