Enable sample anisotropy for test device

This commit is contained in:
hodasemi 2023-04-19 08:52:23 +02:00
parent da9db26684
commit 01e01b333f

View file

@ -88,7 +88,11 @@ pub fn create_vk_handles() -> anyhow::Result<(
physical_device,
DeviceExtensions::default(),
&[queue_info.queue_create_info],
DeviceFeatures::default(),
DeviceFeatures {
samplerAnisotropy: VK_TRUE,
..DeviceFeatures::default()
},
)?;
let queue = device.get_queue(queue_info.queue_family_index, queue_info.queue_index);