dolphin/Source/Core/VideoBackends/OGL
Lioncash 86f8768268 VideoCommon/ShaderGenCommon: Make template functions regular functions
These are only ever used with ShaderCode instances and nothing else.
Given that, we can convert these helper functions to expect that type of
object as an argument and remove the need for templates, improving
compiler throughput a marginal amount, as the template instantiation
process doesn't need to be performed.

We can also move the definitions of these functions into the cpp file,
which allows us to remove a few inclusions from the ShaderGenCommon
header. This uncovered a few instances of indirect inclusions being
relied upon in other source files.

One other benefit is this allows changes to be made to the definitions
of the functions without needing to recompile all translation units that
make use of these functions, making change testing a little quicker.

Moving the definitions into the cpp file also allows us to completely
hide DefineOutputMember() from external view, given it's only ever used
inside of GenerateVSOutputMembers().
2020-05-25 21:12:29 -04:00
..
BoundingBox.cpp
BoundingBox.h
CMakeLists.txt VideoOGL/CMakeLists: Specify headers in target sources 2019-05-31 06:54:26 -04:00
GPUTimer.h
main.cpp VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
NativeVertexFormat.cpp
OGL.vcxproj Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
OGL.vcxproj.filters
OGLPipeline.cpp
OGLPipeline.h
OGLShader.cpp VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource() 2019-05-30 03:29:35 -04:00
OGLShader.h VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource() 2019-05-30 03:29:35 -04:00
OGLTexture.cpp
OGLTexture.h
PerfQuery.cpp VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
PerfQuery.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
ProgramShaderCache.cpp VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
ProgramShaderCache.h OGL/ProgramShaderCache: Convert typedef over to a using alias 2019-07-26 18:43:44 -04:00
Render.cpp VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
Render.h Merge pull request #8049 from stenzek/crop 2019-06-08 20:57:52 +10:00
SamplerCache.cpp
SamplerCache.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
StreamBuffer.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
StreamBuffer.h
VertexManager.cpp VideoCommon/IndexGenerator: Eliminate static state 2019-12-05 10:49:32 -05:00
VertexManager.h
VideoBackend.h