dolphin/Source
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
..
Android Android: Consistent TODO formatting 2020-05-09 12:33:09 -04:00
Core VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
DSPSpy DSPSpy: Remove unused stubs 2019-12-30 13:33:43 +01:00
DSPTool DSPTool: fix build 2020-05-17 10:47:20 +01:00
PCH Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
UnitTests Remove unused function Host_UpdateProgressDialog 2020-04-03 12:53:38 +02:00
VSProps Externals: Add zstd 2020-05-13 20:53:10 +02:00
.clang-format Require clang-format 9 and reformat source code 2020-01-08 22:18:15 +01:00
CMakeLists.txt CMake: add DOLPHIN_CXX_FLAGS option 2020-02-09 01:03:36 +00:00
dolphin-emu.sln Externals: Add zstd 2020-05-13 20:53:10 +02:00