diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-02-16 20:52:24 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-02-17 09:28:14 +0100 |
commit | f4487016226c3337fa5fb2244c75ce298093c3ce (patch) | |
tree | f9d19221d53754a3f3898e06dcc7b6ec6c254be9 /src/amd/vulkan/radv_meta_bufimage.c | |
parent | fccbad73effc88011b2236e042ad749c8bc15abd (diff) |
radv: Never try to create more than max_sets descriptor sets.
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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
CC: <[email protected]>
Fixes: f4e499ec79147f4172f3669ae9dafd941aaeeb65
Diffstat (limited to 'src/amd/vulkan/radv_meta_bufimage.c')
0 files changed, 0 insertions, 0 deletions