diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-12-03 22:35:34 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-12-14 13:28:50 +0100 |
| commit | cec5b0ce01abbcee654c7c8ca609cb66d5af4cf0 (patch) | |
| tree | 80bbe094a992ef3f0f147b77f1898f490965723a /Source/Core/VideoCommon/ShaderGenCommon.h | |
| parent | fd6b5886270a1433cc315895f30036e4bd4729f0 (diff) | |
ShaderGen: Remove the GS_OUTPUT struct for OpenGL.
And remove the generator for it since it is no longer used outside of the geometry shader.
Diffstat (limited to 'Source/Core/VideoCommon/ShaderGenCommon.h')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderGenCommon.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/Core/VideoCommon/ShaderGenCommon.h b/Source/Core/VideoCommon/ShaderGenCommon.h index ed9bab9fca..618d262374 100644 --- a/Source/Core/VideoCommon/ShaderGenCommon.h +++ b/Source/Core/VideoCommon/ShaderGenCommon.h @@ -258,17 +258,6 @@ static inline void GenerateVSOutputStruct(T& object, API_TYPE api_type) object.Write("};\n"); } -template<class T> -static inline void GenerateGSOutputStruct(T& object, API_TYPE api_type) -{ - object.Write("struct GS_OUTPUT {\n"); - - DefineOutputStructMember(object, api_type, "VS_OUTPUT", "vs", -1, ""); - DefineOutputStructMember(object, api_type, (api_type == API_OPENGL) ? "flat int" : "uint", "layer", -1, "SV_RenderTargetArrayIndex"); - - object.Write("};\n"); -} - // Constant variable names #define I_COLORS "color" #define I_KCOLORS "k" |
