mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-30 02:41:32 +11:00
add maxColorAttachments
to device limit conversion
This commit is contained in:
parent
0b910b7632
commit
b19dbb8936
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue