105: add maxColorAttachments to device limit conversion r=kvark a=fkaa

Depends on https://github.com/gfx-rs/gfx/pull/2176

Co-authored-by: Felix Kaaman <trundmatu@gmail.com>
This commit is contained in:
bors[bot] 2018-07-11 18:05:00 +00:00
commit be62c9ea71

View file

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