diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2019-12-07 18:40:56 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-07 18:40:56 -0800 |
| commit | 9ef50a1d4baebb2f8f1b11401e4e0dcdca31b2dd (patch) | |
| tree | 214d1bc9a92221e54afcdf3ecefbecdbe313db31 /Source/Core/VideoCommon/FramebufferShaderGen.h | |
| parent | 19ea546a0af6d2a18be61cd2a79380e2735255a5 (diff) | |
| parent | f29730944fbcda8207504b8ee8a22907e754b5ef (diff) | |
Merge pull request #8509 from lioncash/shader-str
VideoCommon/FramebufferShaderGen: Minor clean up
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferShaderGen.h')
| -rw-r--r-- | Source/Core/VideoCommon/FramebufferShaderGen.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/Source/Core/VideoCommon/FramebufferShaderGen.h b/Source/Core/VideoCommon/FramebufferShaderGen.h index c6186a4aa3..eed3066fbb 100644 --- a/Source/Core/VideoCommon/FramebufferShaderGen.h +++ b/Source/Core/VideoCommon/FramebufferShaderGen.h @@ -1,25 +1,17 @@ +// Copyright 2019 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + #pragma once + #include <string> -#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(); |
