vulkan: de-duplicate used textures
This commit is contained in:
parent
cf6016f61f
commit
8a3a377f61
3 changed files with 9 additions and 3 deletions
|
|
@ -462,6 +462,7 @@ impl VulkanRenderer {
|
|||
shader_read_only_optimal_descriptor: self.sampler_read_only_descriptor(view),
|
||||
descriptor_buffer_version: Cell::new(0),
|
||||
descriptor_buffer_offset: Cell::new(0),
|
||||
execution_version: Cell::new(0),
|
||||
});
|
||||
let shm = match &img.ty {
|
||||
VulkanImageMemory::DmaBuf(_) => unreachable!(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue