radv: calculate best compute resource limits
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 14:51:19 +0000 (15:51 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 21:20:57 +0000 (22:20 +0100)
commit75b1c4997fe4de75dc4735937959c52f30f5c42b
tree2e99ebad5f216ef4ad376fec3a644ee75a5fe256
parent9fdc1437baab9dbb0b1c3473af27b2241954b2de
radv: calculate best compute resource limits

Ported from RadeonSI.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c