2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-18 01:08:10 +02:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 05:29:41 +02:00
|
|
|
// Refer to the license.txt file included.
|
2010-06-13 21:50:06 +02:00
|
|
|
|
2014-02-10 19:54:46 +01:00
|
|
|
#pragma once
|
2010-06-13 21:50:06 +02:00
|
|
|
|
2014-02-17 11:18:15 +01:00
|
|
|
#include <map>
|
2010-06-13 21:50:06 +02:00
|
|
|
|
2014-02-17 11:18:15 +01:00
|
|
|
#include "VideoBackends/D3D/D3DBase.h"
|
|
|
|
#include "VideoBackends/D3D/D3DBlob.h"
|
2011-01-25 17:43:08 +01:00
|
|
|
|
2017-07-20 07:25:31 +02:00
|
|
|
#include "VideoCommon/AsyncShaderCompiler.h"
|
|
|
|
#include "VideoCommon/UberShaderVertex.h"
|
2014-02-17 11:18:15 +01:00
|
|
|
#include "VideoCommon/VertexShaderGen.h"
|
2011-01-25 17:43:08 +01:00
|
|
|
|
2016-06-24 10:43:46 +02:00
|
|
|
namespace DX11
|
|
|
|
{
|
2017-07-20 07:25:31 +02:00
|
|
|
class D3DVertexFormat;
|
|
|
|
|
2010-06-13 21:50:06 +02:00
|
|
|
class VertexShaderCache
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 10:43:46 +02:00
|
|
|
static void Init();
|
|
|
|
static void Shutdown();
|
2011-01-24 12:57:17 +01:00
|
|
|
|
2016-06-24 10:43:46 +02:00
|
|
|
static ID3D11VertexShader* GetSimpleVertexShader();
|
|
|
|
static ID3D11VertexShader* GetClearVertexShader();
|
|
|
|
static ID3D11InputLayout* GetSimpleInputLayout();
|
|
|
|
static ID3D11InputLayout* GetClearInputLayout();
|
2010-06-13 21:50:06 +02:00
|
|
|
};
|
|
|
|
|
2011-01-29 21:16:51 +01:00
|
|
|
} // namespace DX11
|