mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
35 lines
755 B
C++
35 lines
755 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <map>
|
|
|
|
#include "VideoBackends/D3D/D3DBase.h"
|
|
#include "VideoBackends/D3D/D3DBlob.h"
|
|
|
|
#include "VideoCommon/AsyncShaderCompiler.h"
|
|
#include "VideoCommon/UberShaderVertex.h"
|
|
#include "VideoCommon/VertexShaderGen.h"
|
|
|
|
namespace DX11
|
|
{
|
|
class D3DVertexFormat;
|
|
|
|
class VertexShaderCache
|
|
{
|
|
public:
|
|
static void Init();
|
|
static void Shutdown();
|
|
|
|
static ID3D11Buffer*& GetConstantBuffer();
|
|
|
|
static ID3D11VertexShader* GetSimpleVertexShader();
|
|
static ID3D11VertexShader* GetClearVertexShader();
|
|
static ID3D11InputLayout* GetSimpleInputLayout();
|
|
static ID3D11InputLayout* GetClearInputLayout();
|
|
};
|
|
|
|
} // namespace DX11
|