Re: [Mesa-dev] [PATCH 3/3] radv: add support for VK_EXT_memory_budget

2019-01-08 Thread Alex Smith
On Mon, 7 Jan 2019 at 17:20, Samuel Pitoiset wrote: > > On 1/7/19 6:06 PM, Alex Smith wrote: > > Hi Samuel, > > Thanks for implementing this - I've been wanting this extension for a > while so it's good it's finally available. > > This is just reporting the total heap sizes as the budget, which i

Re: [Mesa-dev] [PATCH 3/3] radv: add support for VK_EXT_memory_budget

2019-01-07 Thread Bas Nieuwenhuizen
On Mon, Jan 7, 2019 at 6:20 PM Samuel Pitoiset wrote: > > > On 1/7/19 6:06 PM, Alex Smith wrote: > > Hi Samuel, > > Thanks for implementing this - I've been wanting this extension for a while > so it's good it's finally available. > > This is just reporting the total heap sizes as the budget, whi

Re: [Mesa-dev] [PATCH 3/3] radv: add support for VK_EXT_memory_budget

2019-01-07 Thread Samuel Pitoiset
On 1/7/19 6:06 PM, Alex Smith wrote: Hi Samuel, Thanks for implementing this - I've been wanting this extension for a while so it's good it's finally available. This is just reporting the total heap sizes as the budget, which is the same info we already get from the basic heap properties. T

Re: [Mesa-dev] [PATCH 3/3] radv: add support for VK_EXT_memory_budget

2019-01-07 Thread Alex Smith
Hi Samuel, Thanks for implementing this - I've been wanting this extension for a while so it's good it's finally available. This is just reporting the total heap sizes as the budget, which is the same info we already get from the basic heap properties. The way I'd expected budget to work (and wha

[Mesa-dev] [PATCH 3/3] radv: add support for VK_EXT_memory_budget

2019-01-07 Thread Samuel Pitoiset
A simple Vulkan extension that allows apps to query size and usage of all exposed memory heaps. The different usage values are not really accurate because they are per drm-fd, but they should be close enough. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_device.c | 44