D3D12: Initial commit for D3D12 backend implementation.

This commit is contained in:
hdcmeta
2016-01-07 19:40:35 -08:00
parent a2e2e36745
commit 8cc686b360
54 changed files with 12296 additions and 7 deletions

View File

@ -0,0 +1,26 @@
// Copyright 2010 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <string>
#include "VideoBackends/D3D12/D3DBase.h"
class D3DBlob;
namespace DX12
{
namespace D3D
{
// The returned bytecode buffers should be Release()d.
bool CompileVertexShader(const std::string& code, ID3DBlob** blob);
bool CompileGeometryShader(const std::string& code, ID3DBlob** blob, const D3D_SHADER_MACRO* defines = nullptr);
bool CompilePixelShader(const std::string& code, ID3DBlob** blob, const D3D_SHADER_MACRO* defines = nullptr);
}
} // namespace DX12