Re: [Mesa-dev] [PATCH 1/2] radv: Never try to create more than max_sets descriptor sets.

2017-02-17 Thread Nicolai Hähnle
On 16.02.2017 21:26, Bas Nieuwenhuizen wrote: We only use the freed ones after all free space has been used. If the app only allocates small descriptor sets, we might go over max_sets before the memory is full. Signed-off-by: Bas Nieuwenhuizen CC: Fixes: f4e499ec79147f4172f3669ae9dafd941aaeeb6

Re: [Mesa-dev] [PATCH 1/2] radv: Never try to create more than max_sets descriptor sets.

2017-02-16 Thread Dave Airlie
On 17 February 2017 at 06:26, Bas Nieuwenhuizen wrote: > We only use the freed ones after all free space has been used. If > the app only allocates small descriptor sets, we might go over > max_sets before the memory is full. > > Signed-off-by: Bas Nieuwenhuizen > CC: > Fixes: f4e499ec79147f417

[Mesa-dev] [PATCH 1/2] radv: Never try to create more than max_sets descriptor sets.

2017-02-16 Thread Bas Nieuwenhuizen
We only use the freed ones after all free space has been used. If the app only allocates small descriptor sets, we might go over max_sets before the memory is full. Signed-off-by: Bas Nieuwenhuizen CC: Fixes: f4e499ec79147f4172f3669ae9dafd941aaeeb65 --- src/amd/vulkan/radv_descriptor_set.c | 7