From 0ceed328357fee1a3568d23bcb48f69a0f4b3110 Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Sat, 1 Sep 2018 02:01:26 -0600 Subject: [PATCH] Map max sampler anisotropy --- libportability-gfx/src/conv.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libportability-gfx/src/conv.rs b/libportability-gfx/src/conv.rs index d74fd12..c97183c 100644 --- a/libportability-gfx/src/conv.rs +++ b/libportability-gfx/src/conv.rs @@ -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 } }