dolphin/Source/Core/VideoBackends
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
..
D3D VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
D3D12 FramebufferManager: Copy to color format for depth readbacks on GLES 2020-05-24 16:11:11 +10:00
D3DCommon Add Dolphin version and current video backend to shader compilation logs 2020-01-24 03:29:38 -05:00
Null FramebufferManager: Copy to color format for depth readbacks on GLES 2020-05-24 16:11:11 +10:00
OGL VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
Software FramebufferManager: Copy to color format for depth readbacks on GLES 2020-05-24 16:11:11 +10:00
Vulkan VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
CMakeLists.txt Implement D3D12 backend 2019-04-01 11:24:55 +10:00