turnip: implement secondary command buffers

Graphics / Mesa 3D Graphics Library / Mesa - Jonathan Marek [marek.ca] - 19 December 2019 20:42 UTC

Uses a new "tu_cs_add_entries" function because tu_cs_emit_call doesn't work inside draw_cs (which is already called by tu_cs_emit_call).

e9a32af3bfb turnip: implement secondary command buffers
src/freedreno/vulkan/tu_cmd_buffer.c | 29 +++++++++++++++++++++++++++++
src/freedreno/vulkan/tu_cs.c | 32 ++++++++++++++++++++++++++++++--
src/freedreno/vulkan/tu_cs.h | 3 +++
3 files changed, 62 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share