From eefd6a10f587d2eca688a4910956284d1928dd4c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 4 Dec 2019 23:48:57 -0500 Subject: VideoCommon/FramebufferShaderGen: Add missing initial source file comments Makes the source files consistent with the rest of the VideoCommon code. --- Source/Core/VideoCommon/FramebufferShaderGen.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/VideoCommon/FramebufferShaderGen.h') diff --git a/Source/Core/VideoCommon/FramebufferShaderGen.h b/Source/Core/VideoCommon/FramebufferShaderGen.h index c6186a4aa3..6c937ab71e 100644 --- a/Source/Core/VideoCommon/FramebufferShaderGen.h +++ b/Source/Core/VideoCommon/FramebufferShaderGen.h @@ -1,4 +1,9 @@ +// Copyright 2019 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + #pragma once + #include #include "VideoCommon/VideoCommon.h" -- cgit v1.2.3 From 3405815f0904eb2113be89f4eab4198d8a409ae1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 4 Dec 2019 23:52:21 -0500 Subject: VideoCommon/FramebufferShaderGen: Remove unused Config struct This isn't used anywhere within the codebase, so it can be removed entirely. --- Source/Core/VideoCommon/FramebufferShaderGen.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Source/Core/VideoCommon/FramebufferShaderGen.h') diff --git a/Source/Core/VideoCommon/FramebufferShaderGen.h b/Source/Core/VideoCommon/FramebufferShaderGen.h index 6c937ab71e..eed3066fbb 100644 --- a/Source/Core/VideoCommon/FramebufferShaderGen.h +++ b/Source/Core/VideoCommon/FramebufferShaderGen.h @@ -5,26 +5,13 @@ #pragma once #include -#include "VideoCommon/VideoCommon.h" +#include "Common/CommonTypes.h" enum class EFBReinterpretType; enum class TextureFormat; namespace FramebufferShaderGen { -struct Config -{ - Config(APIType api_type_, u32 efb_samples_, u32 efb_layers_, bool ssaa_) - : api_type(api_type_), efb_samples(efb_samples_), efb_layers(efb_layers_), ssaa(ssaa_) - { - } - - APIType api_type; - u32 efb_samples; - u32 efb_layers; - bool ssaa; -}; - std::string GenerateScreenQuadVertexShader(); std::string GeneratePassthroughGeometryShader(u32 num_tex, u32 num_colors); std::string GenerateTextureCopyVertexShader(); -- cgit v1.2.3