turnip: add tu_cs_add_bo
authorChia-I Wu <olvaffe@gmail.com>
Wed, 16 Jan 2019 19:17:26 +0000 (11:17 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:01:41 +0000 (10:01 -0700)
commitaf4eb208916d0fc2aecf1a0a44bc29cf49441a84
tree5486cc070b3df6882d7b8835e4c5c324d0e23b70
parentae9a72b48b4fe77113d12a5de0cdb5a0746b8d0a
turnip: add tu_cs_add_bo

Refactor BO allocation code out of tu_cs_begin.  Add error checking.
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_cs.c