Reformat all the things. Have fun with merge conflicts.

This commit is contained in:
Pierre Bourdon
2016-06-24 10:43:46 +02:00
parent 2115e8a4a6
commit 3570c7f03a
1116 changed files with 187405 additions and 180344 deletions

View File

@ -6,35 +6,33 @@
namespace DX12
{
class StaticShaderCache final
{
public:
static void Init();
static void InvalidateMSAAShaders();
static void Shutdown();
static void Init();
static void InvalidateMSAAShaders();
static void Shutdown();
// Pixel shaders
static D3D12_SHADER_BYTECODE GetColorMatrixPixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetColorCopyPixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetDepthMatrixPixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetDepthResolveToColorPixelShader();
static D3D12_SHADER_BYTECODE GetClearPixelShader();
static D3D12_SHADER_BYTECODE GetAnaglyphPixelShader();
static D3D12_SHADER_BYTECODE GetReinterpRGBA6ToRGB8PixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetReinterpRGB8ToRGBA6PixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetXFBEncodePixelShader();
static D3D12_SHADER_BYTECODE GetXFBDecodePixelShader();
// Pixel shaders
static D3D12_SHADER_BYTECODE GetColorMatrixPixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetColorCopyPixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetDepthMatrixPixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetDepthResolveToColorPixelShader();
static D3D12_SHADER_BYTECODE GetClearPixelShader();
static D3D12_SHADER_BYTECODE GetAnaglyphPixelShader();
static D3D12_SHADER_BYTECODE GetReinterpRGBA6ToRGB8PixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetReinterpRGB8ToRGBA6PixelShader(bool multisampled);
static D3D12_SHADER_BYTECODE GetXFBEncodePixelShader();
static D3D12_SHADER_BYTECODE GetXFBDecodePixelShader();
// Vertex shaders
static D3D12_SHADER_BYTECODE GetSimpleVertexShader();
static D3D12_SHADER_BYTECODE GetClearVertexShader();
static D3D12_INPUT_LAYOUT_DESC GetSimpleVertexShaderInputLayout();
static D3D12_INPUT_LAYOUT_DESC GetClearVertexShaderInputLayout();
// Vertex shaders
static D3D12_SHADER_BYTECODE GetSimpleVertexShader();
static D3D12_SHADER_BYTECODE GetClearVertexShader();
static D3D12_INPUT_LAYOUT_DESC GetSimpleVertexShaderInputLayout();
static D3D12_INPUT_LAYOUT_DESC GetClearVertexShaderInputLayout();
// Geometry shaders
static D3D12_SHADER_BYTECODE GetClearGeometryShader();
static D3D12_SHADER_BYTECODE GetCopyGeometryShader();
// Geometry shaders
static D3D12_SHADER_BYTECODE GetClearGeometryShader();
static D3D12_SHADER_BYTECODE GetCopyGeometryShader();
};
}