Cédric Belmant

Results 46 comments of Cédric Belmant
trafficstars

Hi, thanks for raising the issue. The correct usage is to restrict the `memory_types` field according to the `memory_type_count` field of the `PhysicalDeviceMemoryProperties`. That is because internally the specification uses...

> (Btw how is this different from other array-returning functions (such as the queries for queue families) that seem to behave just right?) The difference is in the API. [`vkGetPhysicalDeviceMemoryProperties`](https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceMemoryProperties.html)...

As of 1.3.207, it seems that the issue with bounded arrays containing garbage concerns the following structures: - `VkDeviceGroupPresentCapabilitiesKHR` - `VkPhysicalDeviceGroupProperties` - `VkQueueFamilyGlobalPriorityPropertiesKHR` - `VkPhysicalDeviceMemoryBudgetPropertiesEXT` - `VkPhysicalDeviceMemoryProperties` Ideally, instead of...

That's what I think as well, as these structures look like they'll be used mostly in application setup/initialization. Returning a view assumes that the original vector exists somewhere, so I...

I guess that depends what the `vk::PhysicalDevice::GetMemoryProperties()` does, `pMemoryProperties` is intended to be a pointer filled with new data. Or maybe I didn't understand your comment?

This works for me too, perhaps we can give it another try? What were the issues? (logs are no longer available) I made an attempt as well, with some special-casing...

Any updates on this? Is there an agreement on going forward with reverting to using `@generated` functions? I personally agree with the sentiment of the thread that `@generated` functions are...

Hi, is the program of the following form? ```julia function main() instance, device = init(...) swapchain = create_swapchain(...) view = get_image_view(swapchain, ...) # do something with `view` end ``` Because...

Good to hear the issue was solved! Note that if you return a struct, you are not guaranteed that its members are preserved; if for example you do something like...

I implemented `depends_on` as mentioned above here: https://github.com/JuliaGPU/Vulkan.jl/commit/29e253aa15074f591d26e9687f56880c1217a134 It is unexported, but public (though not marked as such with the new `public` keyword because it does not appear yet very...