Remove unneeded members

This commit is contained in:
baldurk
2015-11-13 11:39:53 +01:00
parent b0cb49369a
commit bebcf1b781
2 changed files with 1 additions and 6 deletions
+1 -3
View File
@@ -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;