Enable sample anisotropy for test device
This commit is contained in:
parent
da9db26684
commit
01e01b333f
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue