D3DUtil: Use a geometry shader to clear all slices.

This commit is contained in:
Jules Blok
2014-11-23 02:13:25 +01:00
parent 799697ad80
commit 3355d8086d
5 changed files with 56 additions and 6 deletions

View File

@ -21,6 +21,8 @@ public:
static bool SetShader(u32 components); // TODO: Should be renamed to LoadShader
static bool InsertByteCode(const GeometryShaderUid &uid, const void* bytecode, unsigned int bytecodelen);
static ID3D11GeometryShader* GeometryShaderCache::GetClearGeometryShader();
static ID3D11GeometryShader* GetActiveShader() { return last_entry->shader; }
private: