dolphin/Source/Core/VideoBackends/Vulkan
Pokechu22 0cced44142 Use __VA_OPT__(, ) __VA_ARGS__ instead of ##__VA_ARGS__
Per https://en.cppreference.com/w/cpp/preprocessor/replace#.23_and_.23.23_operators the `##` behavior is a nonstandard extension; this extension seems to be supported by all compilers we care about, but IntelliSense in visual studio doesn't correctly handle it, resulting in false errors in the IDE (but not when compiling).

Per https://en.cppreference.com/w/cpp/preprocessor/replace#Function-like_macros C++20 introduced a workaround, where `__VA_OPT__(, )` generates a comma if and only if `__VA_ARGS__` is non-empty.

This PR replaces all occurrences, with the exception of Externals, DSPSpy (which is not likely to be edited in MSVC and does not target C++20 currently), and JitArm64_Integer.cpp (which uses `Function(__VA_ARGS__)`, and thus does not ever need a comma).
2022-08-23 12:09:57 -07:00
..
CMakeLists.txt VideoBackends / VideoCommon: refactor Vulkan to use new SPIRV functionality 2022-06-24 18:09:53 -05:00
CommandBufferManager.cpp
CommandBufferManager.h
Constants.h
ObjectCache.cpp
ObjectCache.h
ShaderCompiler.cpp ShaderCompiler: Use compute shader header in compute shaders 2022-07-09 19:01:58 -04:00
ShaderCompiler.h
StagingBuffer.cpp
StagingBuffer.h
StateTracker.cpp
StateTracker.h
VideoBackend.h
VKBoundingBox.cpp
VKBoundingBox.h
VKMain.cpp VKMain: Remove check for macOS 10.14 2022-06-01 22:57:56 -04:00
VKPerfQuery.cpp
VKPerfQuery.h
VKPipeline.cpp VideoCommon: Better driver bug handling 2022-07-13 21:51:24 -05:00
VKPipeline.h
VKRenderer.cpp VideoBackends:Multiple: Grammar fixes 2022-07-21 20:44:19 -05:00
VKRenderer.h VideoBackends: Add Metal renderer 2022-07-21 20:44:19 -05:00
VKShader.cpp
VKShader.h
VKStreamBuffer.cpp
VKStreamBuffer.h
VKSwapChain.cpp
VKSwapChain.h Vulkan: Remove unused swap chain functions 2022-08-17 18:16:17 -07:00
VKTexture.cpp
VKTexture.h
VKVertexFormat.cpp
VKVertexFormat.h
VKVertexManager.cpp
VKVertexManager.h
VulkanContext.cpp VideoBackends:Metal: MSAA support 2022-07-21 20:44:19 -05:00
VulkanContext.h
VulkanEntryPoints.inl
VulkanLoader.cpp
VulkanLoader.h Use __VA_OPT__(, ) __VA_ARGS__ instead of ##__VA_ARGS__ 2022-08-23 12:09:57 -07:00