summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-01-28 16:31:54 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:02:13 -0700
commit741a4325df3a9c605bf85d2429f4af97a755e407 (patch)
tree87d0cf50338d769181b3c2faea5a12822c42d799 /src/freedreno/vulkan/tu_private.h
parent29f111000399821452e8538ca74ce2de7210ee47 (diff)
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.
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index cd724ea1b9d..205d5c0f13f 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -781,10 +781,8 @@ struct tu_cs
{
uint32_t *start;
uint32_t *cur;
- uint32_t *end;
-
- /* for tu_cs_reserve_space_assert */
uint32_t *reserved_end;
+ uint32_t *end;
uint32_t next_bo_size;