diff --git a/libportability-gfx/src/conv.rs b/libportability-gfx/src/conv.rs index 13dead8..9cff8f6 100644 --- a/libportability-gfx/src/conv.rs +++ b/libportability-gfx/src/conv.rs @@ -18,6 +18,7 @@ pub fn limits_from_hal(limits: Limits) -> VkPhysicalDeviceLimits { maxTessellationPatchSize: limits.max_patch_size as _, maxPushConstantsSize: 0x80, //TODO maxViewports: limits.max_viewports as _, + maxViewportDimensions: [limits.max_texture_size as u32; 2], maxVertexInputAttributes: limits.max_vertex_input_attributes as _, maxVertexInputBindings: limits.max_vertex_input_bindings as _, maxVertexInputAttributeOffset: limits.max_vertex_input_attribute_offset as _, diff --git a/libportability-gfx/src/impls.rs b/libportability-gfx/src/impls.rs index 95783dd..2f8fd83 100644 --- a/libportability-gfx/src/impls.rs +++ b/libportability-gfx/src/impls.rs @@ -1086,6 +1086,7 @@ pub extern "C" fn gfxQueueSubmit( }; // only provide the fence for the last submission + //TODO: support multiple submissions at gfx-hal level let fence = if i + 1 == submits.len() { fence.as_ref() } else {