turnip: add tu_cs_sanity_check
authorChia-I Wu <olvaffe@gmail.com>
Tue, 29 Jan 2019 00:31:54 +0000 (16:31 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:02:13 +0000 (10:02 -0700)
commit741a4325df3a9c605bf85d2429f4af97a755e407
tree87d0cf50338d769181b3c2faea5a12822c42d799
parent29f111000399821452e8538ca74ce2de7210ee47
turnip: add tu_cs_sanity_check

It replaces tu_cs_reserve_space_assert and can be called at any
time to sanity check tu_cs.
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_cs.c
src/freedreno/vulkan/tu_cs.h
src/freedreno/vulkan/tu_private.h