Optimize out a lot of std::string construction and allocations (#415)
Update CommandLineParameters.hpp Update CommandLineParametersTests.cpp Update WebContext.hpp xmake check-files -f Fix MaterialPassRegistry
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#ifndef NAZARA_VULKANRENDERER_WRAPPER_PHYSICALDEVICE_HPP
|
||||
#define NAZARA_VULKANRENDERER_WRAPPER_PHYSICALDEVICE_HPP
|
||||
|
||||
#include <NazaraUtils/StringHash.hpp>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
@@ -20,7 +21,7 @@ namespace Nz::Vk
|
||||
VkPhysicalDeviceFeatures features;
|
||||
VkPhysicalDeviceMemoryProperties memoryProperties;
|
||||
VkPhysicalDeviceProperties properties;
|
||||
std::unordered_set<std::string> extensions;
|
||||
std::unordered_set<std::string, StringHash<>, std::equal_to<>> extensions;
|
||||
std::vector<VkQueueFamilyProperties> queueFamilies;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user