dolphin/Source/Core/VideoBackends/Vulkan
Lioncash 7926a0c814 Use __func__ instead of __FUNCTION__ where applicable
This replaces usages of the non-standard __FUNCTION__ macro with the standard
mandated __func__ identifier.

__FUNCTION__ is a preprocessor definition that is provided as an
extension by compilers. This was the only convenient option to rely on
pre-C++11. However, C++11 and greater mandate the predefined identifier
__func__, which lets us accomplish the same thing.

The difference between the two, however, is that __func__ isn't a
preprocessor macro, it's an actual identifier that exists at function
scope. The C++17 draft standard (N4659) at section [dcl.fct.def.general]
paragraph 8 states:

"
The function-local predefined variable __func__ is defined as if a
definition of the form

static const char __func__[] = "function-name ";

had been provided, where function-name is an implementation-defined
string. It is unspecified whether such
a variable has an address distinct from that of any other object in the
program.
"

Thankfully, we don't do any macro or string concatenation with __FUNCTION__
that can't be modified to use __func__.
2018-03-16 13:41:53 -04:00
..
BoundingBox.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
BoundingBox.h Vulkan: Remove parameters/members of single-instance classes 2016-11-03 22:01:54 +10:00
CMakeLists.txt VideoBackends: Add AbstractShader and AbstractPipeline classes 2018-02-22 22:02:34 +10:00
CommandBufferManager.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
CommandBufferManager.h Vulkan: Only use oldSwapchain in response to VK_ERROR_OUT_OF_DATE_KHR 2017-10-10 23:21:40 +10:00
Constants.h Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
FramebufferManager.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
FramebufferManager.h Vulkan: Fix possible mismatch between EFB framebuffer and render pass 2018-01-11 16:02:31 +10:00
main.cpp Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
ObjectCache.cpp Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
ObjectCache.h Vulkan: Move render pass management to ObjectCache 2018-01-11 15:21:34 +10:00
PerfQuery.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
PerfQuery.h Vulkan: Remove parameters/members of single-instance classes 2016-11-03 22:01:54 +10:00
PostProcessing.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
PostProcessing.h Vulkan: Implement post-processing backend 2017-04-25 14:27:02 +10:00
RasterFont.cpp VideoCommon: Add helpers for generating common render states 2017-09-11 20:01:52 +10:00
RasterFont.h Vulkan: Implement post-processing backend 2017-04-25 14:27:02 +10:00
Renderer.cpp Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
Renderer.h Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
ShaderCache.cpp Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
ShaderCache.h Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
ShaderCompiler.cpp Vulkan: Use VK_NV_glsl extension where available, and skip glslang 2017-10-11 23:15:41 +10:00
ShaderCompiler.h Vulkan: Use VK_NV_glsl extension where available, and skip glslang 2017-10-11 23:15:41 +10:00
StagingBuffer.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
StagingBuffer.h VideoBackends: Add AbstractStagingTexture class 2017-11-22 18:47:04 +10:00
StateTracker.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
StateTracker.h Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
StreamBuffer.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
StreamBuffer.h ShaderGenCommon: Remove unnecessary includes 2017-02-01 12:19:55 -05:00
SwapChain.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
SwapChain.h Vulkan: Move render pass management to ObjectCache 2018-01-11 15:21:34 +10:00
Texture2D.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
Texture2D.h Vulkan: Compute shader support 2017-04-01 12:32:57 +10:00
TextureCache.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
TextureCache.h Vulkan: Move render pass management to ObjectCache 2018-01-11 15:21:34 +10:00
TextureConverter.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
TextureConverter.h Vulkan: Remove redundant YUYV conversion shaders 2018-02-14 15:26:35 +10:00
Util.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
Util.h Vulkan: Use VK_NV_glsl extension where available, and skip glslang 2017-10-11 23:15:41 +10:00
VertexFormat.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
VertexFormat.h NativeVertexFormat: Drop unused virtual method SetupVertexPointers 2017-07-30 17:43:59 +10:00
VertexManager.cpp Move shader caches to VideoCommon 2018-03-10 15:56:30 +10:00
VertexManager.h VertexManagerBase: Make CreateNativeVertexFormat return a unique_ptr 2017-02-18 03:16:24 -05:00
VideoBackend.h VideoBackend: Remove PeekMessages method 2018-01-27 13:53:55 +10:00
VKPipeline.cpp Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
VKPipeline.h VKPipeline: Fix render pass and add pipeline layout fields 2018-03-10 15:56:13 +10:00
VKShader.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
VKShader.h VideoBackends: Add AbstractShader and AbstractPipeline classes 2018-02-22 22:02:34 +10:00
VKTexture.cpp Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
VKTexture.h VideoCommon: Add support for Abstract Framebuffers 2018-03-02 20:20:48 +10:00
Vulkan.vcxproj VideoBackends: Add AbstractShader and AbstractPipeline classes 2018-02-22 22:02:34 +10:00
VulkanContext.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
VulkanContext.h Vulkan: Provide a more accurate method of detecting drivers/vendors 2018-03-14 02:48:53 +10:00
VulkanEntryPoints.inl Implement experimental Vulkan backend 2016-10-01 02:40:01 +10:00
VulkanLoader.cpp Vulkan: Fix headless framedumping without USE_X11 set 2017-11-23 17:00:32 +10:00
VulkanLoader.h Use __func__ instead of __FUNCTION__ where applicable 2018-03-16 13:41:53 -04:00