mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Pass through number of mips/layers in Vulkan image views
This commit is contained in:
@@ -1090,7 +1090,7 @@ namespace renderdocui.Code
|
||||
var ret = new BoundResource();
|
||||
ret.Id = fb.attachments[rp.depthstencilAttachment].img;
|
||||
ret.HighestMip = (int)fb.attachments[rp.depthstencilAttachment].baseMip;
|
||||
ret.FirstSlice = (int)fb.attachments[rp.depthstencilAttachment].baseArray;
|
||||
ret.FirstSlice = (int)fb.attachments[rp.depthstencilAttachment].baseLayer;
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -1151,7 +1151,7 @@ namespace renderdocui.Code
|
||||
{
|
||||
ret[i].Id = fb.attachments[rp.colorAttachments[i]].img;
|
||||
ret[i].HighestMip = (int)fb.attachments[rp.colorAttachments[i]].baseMip;
|
||||
ret[i].FirstSlice = (int)fb.attachments[rp.colorAttachments[i]].baseArray;
|
||||
ret[i].FirstSlice = (int)fb.attachments[rp.colorAttachments[i]].baseLayer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user