turnip: add internal helpers for tu_cs
authorChia-I Wu <olvaffe@gmail.com>
Tue, 29 Jan 2019 22:09:17 +0000 (14:09 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:02:13 +0000 (10:02 -0700)
commitc11580373f15e36fd6c235b62915ce9f90af8feb
tree0376a7c073ceaac0217692fadda782ef19dba6c0
parent429e2d5755ea8fe2cf9db82b01262a248a0d2671
turnip: add internal helpers for tu_cs

Add tu_cs_get_offset, tu_cs_get_size, tu_cs_get_space, and
tu_cs_is_empty.
src/freedreno/vulkan/tu_cs.c