radeonsi: rewrite late alloc VS limit computation
authorMarek Olšák <marek.olsak@amd.com>
Thu, 24 Aug 2017 23:48:50 +0000 (01:48 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 28 Aug 2017 19:45:33 +0000 (21:45 +0200)
commit9c92e82b324291b56e701d6ad265ec73b21a654f
treeb131e0edbc8341108660ff95dedcf2bc49630e53
parent39205f216e5912df5f6ae9c4ded1a812a19929dd
radeonsi: rewrite late alloc VS limit computation

This is still very simple, but it's better than before.

Loosely ported from Vulkan.
src/gallium/drivers/radeonsi/si_state.c