Map max sampler anisotropy

This commit is contained in:
Joshua Groves 2018-09-01 02:01:26 -06:00
parent 4523415b5e
commit 0ceed32835

View file

@ -36,6 +36,7 @@ pub fn limits_from_hal(limits: Limits) -> VkPhysicalDeviceLimits {
framebufferStencilSampleCounts: limits.framebuffer_stencil_samples_count as _,
maxColorAttachments: limits.max_color_attachments as _,
nonCoherentAtomSize: limits.non_coherent_atom_size as _,
maxSamplerAnisotropy: limits.max_sampler_anisotropy,
.. unsafe { mem::zeroed() } //TODO
}
}