summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-01-28 16:24:48 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:02:13 -0700
commit0d81be3959234c3d877efd6ddee5280b01815433 (patch)
treef92a7c7a8ebe38ecaf68e54b3aff0fee31198bf2 /src/freedreno/vulkan/tu_private.h
parent2774a1b97d450c81108c4f8d00c948d8e3427c4f (diff)
turnip: specify initial size in tu_cs_init
We will drop size parameter from tu_cs_begin shortly, such that tu_cs_begin never fails.
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index 3107b052881..cd724ea1b9d 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -786,6 +786,8 @@ struct tu_cs
/* for tu_cs_reserve_space_assert */
uint32_t *reserved_end;
+ uint32_t next_bo_size;
+
struct tu_cs_entry *entries;
uint32_t entry_count;
uint32_t entry_capacity;