render: add support for more formats
This commit is contained in:
parent
9d78231cac
commit
551dafcce8
13 changed files with 348 additions and 491 deletions
|
|
@ -130,6 +130,9 @@ impl VulkanInstance {
|
|||
format: &Format,
|
||||
props: &FormatProperties2,
|
||||
) -> Result<Option<VulkanShmFormat>, VulkanError> {
|
||||
if format.shm_info.is_none() {
|
||||
return Ok(None);
|
||||
}
|
||||
if !props
|
||||
.format_properties
|
||||
.optimal_tiling_features
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue