OSDN Git Service

Reintroduce "VkDebug: Update macros to address issues in b/127433389"
authorBen Clayton <bclayton@google.com>
Sun, 17 Mar 2019 17:29:30 +0000 (17:29 +0000)
committerBen Clayton <bclayton@google.com>
Mon, 18 Mar 2019 13:40:12 +0000 (13:40 +0000)
commit00424c1bc233436d51201fef2888b3cb3542da11
treeda067f6f38943df3d5302be5110174f3f435e1b7
parentc2bb50b73101dd6a0dacefdbfc52cbf24a886603
Reintroduce "VkDebug: Update macros to address issues in b/127433389"

36411219f had preprocessor issues on Windows.
This should now work on all platforms.

I had to change UNIMPLEMENTED() and UNREACHABLE() to always take a
format parameter to make this work on MSVC. This doesn't seem like
a terrible thing though - especially if we can incorporate the
frequency of hit UNIMPLEMENTED()'s to steer our focus.

Change-Id: Idc58dbe6caa3fb51e085c3b236904c640091deec
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27468
Presubmit-Ready: Ben Clayton <bclayton@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Ben Clayton <bclayton@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
14 files changed:
src/Device/Blitter.cpp
src/Pipeline/SpirvShader.cpp
src/Pipeline/SpirvShader.hpp
src/Vulkan/VkCommandBuffer.cpp
src/Vulkan/VkDebug.cpp
src/Vulkan/VkDebug.hpp
src/Vulkan/VkDescriptorSetLayout.cpp
src/Vulkan/VkDevice.cpp
src/Vulkan/VkImage.cpp
src/Vulkan/VkImageView.cpp
src/Vulkan/VkPhysicalDevice.cpp
src/Vulkan/VkPipeline.cpp
src/Vulkan/VkQueryPool.cpp
src/Vulkan/libVulkan.cpp