Remove old code

This commit is contained in:
baldurk
2016-02-07 18:39:49 +01:00
parent 442386b84a
commit eaf31123f7
2 changed files with 0 additions and 24 deletions
-15
View File
@@ -727,21 +727,6 @@ PrimitiveTopology MakePrimitiveTopology(VkPrimitiveTopology Topo, uint32_t patch
VulkanResourceManager *manager = NULL;
#define MGR() VulkanResourceManager::GetInstance()
template<>
string ToStrHelper<false, DescriptorSlotType>::Get(const DescriptorSlotType &el)
{
switch(el)
{
case DescSetSlot_DescSet: return "Nested Descriptor";
case DescSetSlot_Image: return "Image View";
case DescSetSlot_Memory: return "Memory";
case DescSetSlot_Sampler: return "Sampler";
case DescSetSlot_None: return "None";
}
return "Unknown";
}
template<>
string ToStrHelper<false, VkDeviceCreateFlagBits>::Get(const VkDeviceCreateFlagBits &el)
{
-9
View File
@@ -276,14 +276,5 @@ struct ImgState
int arraySize, mipLevels;
};
enum DescriptorSlotType
{
DescSetSlot_None = 0,
DescSetSlot_Sampler,
DescSetSlot_Image,
DescSetSlot_Memory,
DescSetSlot_DescSet,
};
bool IsBlockFormat(VkFormat f);
bool IsDepthStencilFormat(VkFormat f);