dolphin/Source/Core/VideoBackends/Vulkan
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 Vulkan: Add strict flag to memory type selection 2019-10-02 21:27:32 +10:00
BoundingBox.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
CMakeLists.txt VideoVulkan/CMakeLists: Specify headers in target sources 2019-05-31 06:54:26 -04:00
CommandBufferManager.cpp Vulkan: Treat VK_SUBOPTIMAL_KHR as VK_SUCCESS on Android 2020-01-31 19:16:06 +10:00
CommandBufferManager.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
Constants.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
main.cpp Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT() 2020-04-07 18:56:55 +10:00
ObjectCache.cpp VideoCommon/ShaderGenCommon: Make template functions regular functions 2020-05-25 21:12:29 -04:00
ObjectCache.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 Vulkan: Simplify perf queries using vkGetQueryPoolResults 2019-03-29 20:54:44 +10:00
Renderer.cpp Vulkan: Log when a swap chain resize is occurring 2020-01-31 19:11:43 +10:00
Renderer.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
ShaderCompiler.cpp Cleanup warnings of -Wmissing-declarations 2020-03-24 20:16:10 +08:00
ShaderCompiler.h VideoBackends/Vulkan: Use nested namespace specifiers where applicable 2019-06-17 16:57:30 -04:00
StagingBuffer.cpp Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
StagingBuffer.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
StateTracker.cpp Vulkan: Fix validation layer error for unbound texture layouts 2019-03-29 20:54:44 +10:00
StateTracker.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
StreamBuffer.cpp Use pre-increment for iterators instead of post-increment. 2019-12-29 23:45:02 -05:00
StreamBuffer.h Vulkan: Simplify command buffer fence tracking 2019-03-29 20:54:44 +10:00
SwapChain.cpp Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT() 2020-04-07 18:56:55 +10:00
SwapChain.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
VertexFormat.cpp Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VertexFormat.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VertexManager.cpp Vulkan: Call VertexManagerBase initialize 2019-12-09 19:16:15 +10:00
VertexManager.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VideoBackend.h VideoBackends: Make it possible for PrepareWindow to change the surface 2020-03-11 23:10:30 +10:00
VKPipeline.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
VKPipeline.h VKPipeline: Fix render pass and add pipeline layout fields 2018-03-10 15:56:13 +10:00
VKShader.cpp VideoVulkan/ShaderCompiler: Use a std::optional instead of bool+out variable 2019-05-30 04:16:17 -04:00
VKShader.h VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource() 2019-05-30 03:29:35 -04:00
VKTexture.cpp Vulkan: Add strict flag to memory type selection 2019-10-02 21:27:32 +10:00
VKTexture.h Vulkan: Use correct aspect for D24S8 textures 2019-07-31 15:33:05 +10:00
Vulkan.vcxproj Fix windows build system. 2020-04-29 12:56:52 +02:00
VulkanContext.cpp Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT() 2020-04-07 18:56:55 +10:00
VulkanContext.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
VulkanEntryPoints.inl Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT() 2020-04-07 18:56:55 +10:00
VulkanLoader.cpp Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
VulkanLoader.h Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT() 2020-04-07 18:56:55 +10:00