We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi.What is the recommended Vulkan memory type for immutable vertex/index buffers?According to Arm Mali GPU Best Practices - the best memory type for that kind of usage (immutable resources) should have only HOST_VISIBLE | HOST_COHERENT bits.Does that mean that there is no need to use DEVICE_LOCAL_BIT at all on ARM Mali hardware? if not what are the usage scenarios for DEVICE_LOCAL_BIT?Aleksei
Vulkan memory that is DEVICE_LOCAL and not HOST_VISIBLE is really a property of a discrete graphics card with dedicated graphics RAM local to the card. This type of memory doesn't exist in mobile systems - mobiles use a unified memory pool and CPU and GPU share the same system memory.
HTH, Pete
Thank you for the answer! One more thing I wanted to clarify - does that mean that there is no need at all to use DEVICE_LOCAL bit on ARM mobile systems?Or would be there a benefit for having DEVICE_LOCAL | HOST_VISIBLE combination?
AR5 said:does that mean that there is no need at all to use DEVICE_LOCAL bit on ARM mobile systems?
There is no memory heap that is not DEVICE_LOCAL.
e.g. vulkan.gpuinfo.org/displayreport.php