2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2014-12-03 14:17:56 -07:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <d3d11.h>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
#include "VideoCommon/GeometryShaderGen.h"
|
|
|
|
|
|
|
|
namespace DX11
|
|
|
|
{
|
|
|
|
class GeometryShaderCache
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 02:43:46 -06:00
|
|
|
static void Init();
|
|
|
|
static void Shutdown();
|
2014-12-03 14:17:56 -07:00
|
|
|
|
2017-02-15 21:37:04 -07:00
|
|
|
static ID3D11GeometryShader* GetClearGeometryShader();
|
|
|
|
static ID3D11GeometryShader* GetCopyGeometryShader();
|
2014-11-22 18:13:25 -07:00
|
|
|
|
2016-06-24 02:43:46 -06:00
|
|
|
static ID3D11Buffer*& GetConstantBuffer();
|
2014-12-03 14:17:56 -07:00
|
|
|
};
|
|
|
|
|
2014-12-12 09:25:16 -07:00
|
|
|
} // namespace DX11
|