Browse Source
Merge pull request #5351 from ReinUsesLisp/vc-unused-functions
cmake: Enforce -Wunused-function code-base wise
pull/15/merge
LC
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
4 deletions
-
src/CMakeLists.txt
-
src/video_core/renderer_vulkan/vk_buffer_cache.cpp
|
|
|
@ -69,6 +69,7 @@ else() |
|
|
|
-Werror=reorder |
|
|
|
-Werror=switch |
|
|
|
-Werror=uninitialized |
|
|
|
-Werror=unused-function |
|
|
|
-Werror=unused-result |
|
|
|
-Werror=unused-variable |
|
|
|
-Wextra |
|
|
|
|
|
|
|
@ -34,10 +34,6 @@ constexpr VkAccessFlags UPLOAD_ACCESS_BARRIERS = |
|
|
|
constexpr VkAccessFlags TRANSFORM_FEEDBACK_WRITE_ACCESS = |
|
|
|
VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT | VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT; |
|
|
|
|
|
|
|
std::unique_ptr<VKStreamBuffer> CreateStreamBuffer(const Device& device, VKScheduler& scheduler) { |
|
|
|
return std::make_unique<VKStreamBuffer>(device, scheduler); |
|
|
|
} |
|
|
|
|
|
|
|
} // Anonymous namespace
|
|
|
|
|
|
|
|
Buffer::Buffer(const Device& device_, VKMemoryManager& memory_manager, VKScheduler& scheduler_, |
|
|
|
|