mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 04:41:07 +00:00
Remove unneeded members
This commit is contained in:
@@ -783,14 +783,12 @@ struct VkResourceRecord : public ResourceRecord
|
||||
|
||||
struct ImageLayouts
|
||||
{
|
||||
ImageLayouts() : arraySize(1), mipLevels(1), mem(VK_NULL_HANDLE), memoffs(0) {}
|
||||
ImageLayouts() : arraySize(1), mipLevels(1) {}
|
||||
|
||||
vector<ImageRegionState> subresourceStates;
|
||||
int arraySize, mipLevels;
|
||||
VkExtent3D extent;
|
||||
VkFormat format;
|
||||
VkDeviceMemory mem;
|
||||
VkDeviceSize memoffs;
|
||||
};
|
||||
|
||||
bool IsBlockFormat(VkFormat f);
|
||||
|
||||
@@ -649,9 +649,6 @@ bool WrappedVulkan::Serialise_vkBindImageMemory(
|
||||
mem = GetResourceManager()->GetLiveHandle<VkDeviceMemory>(memId);
|
||||
|
||||
ObjDisp(device)->BindImageMemory(Unwrap(device), Unwrap(image), Unwrap(mem), offs);
|
||||
|
||||
m_ImageLayouts[GetResID(image)].mem = mem;
|
||||
m_ImageLayouts[GetResID(image)].memoffs = offs;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user