2016-01-08 03:40:35 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ShaderCache.h"
|
|
|
|
|
|
|
|
namespace DX12
|
|
|
|
{
|
|
|
|
class ShaderConstantsManager final
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
static void Init();
|
|
|
|
static void Shutdown();
|
2016-01-08 03:40:35 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
static bool LoadAndSetGeometryShaderConstants();
|
|
|
|
static bool LoadAndSetPixelShaderConstants();
|
|
|
|
static bool LoadAndSetVertexShaderConstants();
|
2016-01-08 03:40:35 +00:00
|
|
|
};
|
|
|
|
}
|