dolphin/Source/Core/VideoBackends/D3D
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 D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
BoundingBox.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
CMakeLists.txt VideoBackends/D3D: Fix CMakeLists.txt 2019-05-12 00:05:09 +02:00
D3D.vcxproj Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
D3D.vcxproj.filters D3D11: Use D3DCommon where appropriate 2019-03-29 19:52:38 +10:00
D3DBase.cpp D3D11: Query for output merger logic op support and use logic op code only if supported 2019-07-29 16:47:39 +02:00
D3DBase.h D3D11: Query for output merger logic op support and use logic op code only if supported 2019-07-29 16:47:39 +02:00
D3DState.cpp D3D11: Add extra logging to StateCache::Get 2019-07-29 16:48:24 +02:00
D3DState.h D3D11: Make stateman a unique_ptr 2019-03-29 19:55:00 +10:00
DXPipeline.cpp VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
DXPipeline.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
DXShader.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
DXShader.h D3D/DXShader: Remove duplicate GetByteCode function 2019-07-26 19:45:23 -04:00
DXTexture.cpp D3D11: Query for output merger logic op support and use logic op code only if supported 2019-07-29 16:47:39 +02:00
DXTexture.h D3D11: Ownership fixes for objects in DXTexture 2019-07-29 16:43:02 +02:00
main.cpp FramebufferManager: Copy to color format for depth readbacks on GLES 2020-05-24 16:11:11 +10:00
NativeVertexFormat.cpp D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
PerfQuery.cpp VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
PerfQuery.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
Render.cpp Drop 3D Vision Support 2019-10-04 13:40:21 +10:00
Render.h Drop 3D Vision Support 2019-10-04 13:40:21 +10:00
SwapChain.cpp D3D11: Ownership fixes for objects in DXTexture 2019-07-29 16:43:02 +02:00
SwapChain.h D3DCommon: Fallback to base CreateSwapChain on failure 2019-06-08 20:11:49 +10:00
VertexManager.cpp VideoCommon/IndexGenerator: Eliminate static state 2019-12-05 10:49:32 -05:00
VertexManager.h D3D11: Use ComPtr smart pointer where possible 2019-03-29 19:52:38 +10:00
VideoBackend.h D3D11: Show a warning message about unsupported features when switching to D3D11 backend on Windows 7 2019-07-29 16:47:45 +02:00