mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
Query optimal tiling features for Vulkan.
Images are always created with vk::ImageTiling::OPTIMAL, so it doesn't make much sense querying linear tiling features.
This commit is contained in:
parent
1b96f1a27e
commit
70168ee0f5
@ -803,7 +803,7 @@ impl crate::Adapter<super::Api> for super::Adapter {
|
||||
.instance
|
||||
.raw
|
||||
.get_physical_device_format_properties(self.raw, vk_format);
|
||||
let features = properties.linear_tiling_features;
|
||||
let features = properties.optimal_tiling_features;
|
||||
|
||||
let mut flags = Tfc::empty();
|
||||
flags.set(
|
||||
|
Loading…
Reference in New Issue
Block a user