vulkan: don't try to export non-exportable images
This commit is contained in:
parent
588fce4832
commit
591867ffbd
6 changed files with 68 additions and 61 deletions
|
|
@ -151,13 +151,13 @@ impl VulkanDevice {
|
|||
read_modifiers: vk
|
||||
.modifiers
|
||||
.values()
|
||||
.filter(|m| m.texture_max_extents.is_some())
|
||||
.filter(|m| m.texture_limits.is_some())
|
||||
.map(|m| m.modifier)
|
||||
.collect(),
|
||||
write_modifiers: vk
|
||||
.modifiers
|
||||
.values()
|
||||
.filter(|m| m.render_max_extents.is_some())
|
||||
.filter(|m| m.render_limits.is_some())
|
||||
.map(|m| m.modifier)
|
||||
.collect(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue