mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-17 21:17:09 +00:00
Set num subresources correctly for textures
This commit is contained in:
@@ -1280,7 +1280,7 @@ FetchTexture VulkanReplay::GetTexture(ResourceId id)
|
||||
ret.msQual = 0;
|
||||
ret.msSamp = 1;
|
||||
ret.name = (ret.ID == resid ? "WSI Presentable Image" : StringFormat::Fmt("Image %llu", ret.ID));
|
||||
ret.numSubresources = 1;
|
||||
ret.numSubresources = ret.mips*ret.arraysize;
|
||||
ret.format = MakeResourceFormat(iminfo.format);
|
||||
switch(iminfo.type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user