Merge remote-tracking branch 'origin/1.12' into 1.12
This commit is contained in:
@@ -182,7 +182,7 @@ namespace FlaxEditor.SceneGraph.GUI
|
||||
_highlights?.Clear();
|
||||
isThisVisible = true;
|
||||
}
|
||||
else if (filterText.Contains(','))
|
||||
else if (filterText.Contains(':'))
|
||||
{
|
||||
var splitFilter = filterText.Split(',');
|
||||
var hasAllFilters = true;
|
||||
|
||||
@@ -153,10 +153,10 @@ VkCompareOp RenderToolsVulkan::ComparisonFuncToVkCompareOp[9] =
|
||||
|
||||
#if GPU_ENABLE_RESOURCE_NAMING
|
||||
|
||||
void RenderToolsVulkan::SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const String& name)
|
||||
void RenderToolsVulkan::SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const StringView& name)
|
||||
{
|
||||
#if VK_EXT_debug_utils
|
||||
auto str = name.ToStringAnsi();
|
||||
StringAsANSI<> str(name.Get(), name.Length());
|
||||
SetObjectName(device, objectHandle, objectType, str.Get());
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ private:
|
||||
|
||||
public:
|
||||
#if GPU_ENABLE_RESOURCE_NAMING
|
||||
static void SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const String& name);
|
||||
static void SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const StringView& name);
|
||||
static void SetObjectName(VkDevice device, uint64 objectHandle, VkObjectType objectType, const char* name);
|
||||
#endif
|
||||
|
||||
|
||||
Vendored
+1
@@ -37,6 +37,7 @@
|
||||
#include <stdint.h>
|
||||
#include <limits>
|
||||
#include <initializer_list>
|
||||
#include <iterator>
|
||||
|
||||
#include "core.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user