mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Move shadermodule/shaderinfo into creationinfo, which is replay-only
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
******************************************************************************/
|
||||
|
||||
#include "vk_resources.h"
|
||||
#include "vk_info.h"
|
||||
|
||||
WRAPPED_POOL_INST(WrappedVkInstance)
|
||||
WRAPPED_POOL_INST(WrappedVkPhysicalDevice)
|
||||
@@ -477,3 +478,12 @@ uint32_t GetByteSize(uint32_t Width, uint32_t Height, uint32_t Depth, VkFormat F
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
VkResourceRecord::~VkResourceRecord()
|
||||
{
|
||||
for(size_t i=0; i < descBindings.size(); i++)
|
||||
delete[] descBindings[i];
|
||||
descBindings.clear();
|
||||
|
||||
SAFE_DELETE(layout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user