add maxColorAttachments to device limit conversion

This commit is contained in:
Felix Kaaman 2018-06-24 14:55:19 +03:00
parent 0b910b7632
commit b19dbb8936

View file

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