Pass through base mip/level for vulkan resources (also for GL textures)

This commit is contained in:
baldurk
2015-11-22 13:57:43 +01:00
parent 534f9943f9
commit ebb9f05c75
8 changed files with 41 additions and 4 deletions
+1
View File
@@ -132,6 +132,7 @@ namespace renderdoc
{
public ResourceId Resource;
public UInt32 FirstSlice;
public UInt32 HighestMip;
public ShaderResourceType ResType;
[CustomMarshalAs(CustomUnmanagedType.FixedArray, FixedLength = 4)]
public TextureSwizzle[] Swizzle;
@@ -56,6 +56,9 @@ namespace renderdoc
public ResourceId res;
public ResourceId sampler;
public UInt32 baseMip;
public UInt32 baseLayer;
public UInt64 offset;
public UInt64 size;
@@ -348,6 +351,9 @@ namespace renderdoc
{
public ResourceId view;
public ResourceId img;
public UInt32 baseMip;
public UInt32 baseArray;
};
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public Attachment[] attachments;