Tidy up FetchTexture data for vulkan, fill out all fields properly

This commit is contained in:
baldurk
2016-02-07 18:43:35 +01:00
parent 313f53a820
commit 4336722e34
10 changed files with 354 additions and 18 deletions
+3
View File
@@ -279,6 +279,9 @@ namespace renderdocui.Windows
if (ret.Length == 0 && curDraw != null && (curDraw.flags & DrawcallFlags.Present) != 0)
{
if (curDraw.copyDestination != ResourceId.Null)
return new ResourceId[] { curDraw.copyDestination };
foreach (var t in core.CurTextures)
if ((t.creationFlags & TextureCreationFlags.SwapBuffer) != 0)
return new ResourceId[] { t.ID };