mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #8509 from lioncash/shader-str
VideoCommon/FramebufferShaderGen: Minor clean up
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user