turnip: move tile_load_ib/sysmem_clear_ib into draw_cs
authorJonathan Marek <jonathan@marek.ca>
Mon, 24 Feb 2020 15:56:50 +0000 (10:56 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 21:52:46 +0000 (21:52 +0000)
commit0ee76b90d5a0b3832b9498ab4809de19a03a63fa
tree17630d29dd5ae96835048a6781ce0eb82d14e4d5
parenta410e64b6812b23e1db8b969516ae7f4ebb8b811
turnip: move tile_load_ib/sysmem_clear_ib into draw_cs

Avoids having to calculate reserved sizes for substream cs, also matches
what the blob does.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3925>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3925>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_private.h