Renamed to SortedSets instead of Sets.

This commit is contained in:
2022-02-08 11:12:17 +08:00
parent f278dfc85a
commit 5712efd7a5
11 changed files with 16 additions and 16 deletions

View File

@@ -198,7 +198,7 @@ const bool GPUPhysicalDevice::CheckExtensionSupport(const AnsiString &name)const
const int GPUPhysicalDevice::GetMemoryType(uint32_t typeBits,VkMemoryPropertyFlags properties)const
{
// Search memtypes to find first index with those properties
for(int i=0; i<memory_properties.memoryTypeCount; i++)
for(uint32_t i=0; i<memory_properties.memoryTypeCount; i++)
{
if(typeBits&1) // Type is available, does it match user properties?
if((memory_properties.memoryTypes[i].propertyFlags&properties)==properties)

View File

@@ -3,7 +3,7 @@
#include<hgl/graph/VK.h>
#include<hgl/graph/VKShaderResource.h>
#include<hgl/type/Map.h>
#include<hgl/type/Sets.h>
#include<hgl/type/SortedSets.h>
VK_NAMESPACE_BEGIN
struct PipelineLayoutData
{