mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-22 23:11:30 +11:00
Merge #105
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:
commit
be62c9ea71
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue