mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-09 16:21:03 +00:00
Remove old code
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user