Basic shader cache.

This commit is contained in:
Ben Vanik
2013-10-11 21:45:20 -07:00
parent 6e4fb87992
commit 1378fad3c0
20 changed files with 981 additions and 40 deletions

View File

@@ -14,6 +14,8 @@
#include <xenia/gpu/shader.h>
#include <d3d11.h>
namespace xe {
namespace gpu {
@@ -22,7 +24,11 @@ namespace d3d11 {
class D3D11Shader : public Shader {
public:
D3D11Shader();
D3D11Shader(
ID3D11Device* device,
xenos::XE_GPU_SHADER_TYPE type,
const uint8_t* src_ptr, size_t length,
uint64_t hash);
virtual ~D3D11Shader();
};