mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-20 14:31:42 +00:00
Pass through base mip/level for vulkan resources (also for GL textures)
This commit is contained in:
@@ -117,6 +117,7 @@ struct GLPipelineState
|
||||
}
|
||||
ResourceId Resource;
|
||||
uint32_t FirstSlice;
|
||||
uint32_t HighestMip;
|
||||
ShaderResourceType ResType;
|
||||
|
||||
TextureSwizzle Swizzle[4];
|
||||
|
||||
@@ -50,6 +50,10 @@ struct VulkanPipelineState
|
||||
ResourceId res; // buffer, image, attachment
|
||||
ResourceId sampler;
|
||||
|
||||
// image views
|
||||
uint32_t baseMip;
|
||||
uint32_t baseLayer;
|
||||
|
||||
// buffers
|
||||
uint64_t offset;
|
||||
uint64_t size;
|
||||
@@ -266,6 +270,9 @@ struct VulkanPipelineState
|
||||
{
|
||||
ResourceId view;
|
||||
ResourceId img;
|
||||
|
||||
uint32_t baseMip;
|
||||
uint32_t baseLayer;
|
||||
};
|
||||
rdctype::array<Attachment> attachments;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user