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 Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
BoundingBox.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
CMakeLists.txt VideoOGL/CMakeLists: Specify headers in target sources 2019-05-31 06:54:26 -04:00
GPUTimer.h OGL: Add GPUTimer class for measuring execution time of a draw/dispatch 2017-04-01 12:32:57 +10:00
NativeVertexFormat.cpp OGL: Fix binding error on shutdown 2019-04-21 14:28:14 +10:00
OGL.vcxproj Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
OGL.vcxproj.filters Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
OGLPipeline.cpp OGL: Support returning pipeline cache data 2019-04-16 00:39:43 +10:00
OGLPipeline.h OGL: Support returning pipeline cache data 2019-04-16 00:39:43 +10:00
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 Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
OGLTexture.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
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 GLContext: Remove global context pointer 2018-10-20 21:11:34 +10:00
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 Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VertexManager.cpp VideoCommon/IndexGenerator: Eliminate static state 2019-12-05 10:49:32 -05:00
VertexManager.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VideoBackend.h GLContext: Remove global context pointer 2018-10-20 21:11:34 +10:00
main.cpp VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00