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

@@ -13,9 +13,16 @@
using namespace xe;
using namespace xe::gpu;
using namespace xe::gpu::d3d11;
using namespace xe::gpu::xenos;
D3D11Shader::D3D11Shader() {
D3D11Shader::D3D11Shader(
ID3D11Device* device,
XE_GPU_SHADER_TYPE type,
const uint8_t* src_ptr, size_t length,
uint64_t hash) :
Shader(type, src_ptr, length, hash) {
// TODO(benvanik): create shader/translate/etc.
}
D3D11Shader::~D3D11Shader() {