aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_cs.c
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2020-02-24 09:02:41 -0500
committerMarge Bot <[email protected]>2020-02-24 21:52:45 +0000
commitcf94124e1c28c0c5953454ad1dbe71b9de8adc55 (patch)
treef5f3b84fca10b287616802678f5c4283c33c1147 /src/freedreno/vulkan/tu_cs.c
parent4b2a7dcd93f285ea88a110afa75cbac5d147e5cb (diff)
turnip: automatically reserve cmdstream space in emit_pkt4/emit_pkt7
Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3925>
Diffstat (limited to 'src/freedreno/vulkan/tu_cs.c')
-rw-r--r--src/freedreno/vulkan/tu_cs.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/freedreno/vulkan/tu_cs.c b/src/freedreno/vulkan/tu_cs.c
index 6cb96b0926d..072a52cbd3c 100644
--- a/src/freedreno/vulkan/tu_cs.c
+++ b/src/freedreno/vulkan/tu_cs.c
@@ -91,15 +91,6 @@ tu_cs_get_size(const struct tu_cs *cs)
}
/**
- * Get the size of the remaining space in the current BO.
- */
-static uint32_t
-tu_cs_get_space(const struct tu_cs *cs)
-{
- return cs->end - cs->cur;
-}
-
-/**
* Return true if there is no command packet emitted since the last call to
* tu_cs_add_entry.
*/