radeonsi: delay adding BOs at the beginning of IBs until the first draw
authorMarek Olšák <marek.olsak@amd.com>
Thu, 28 Feb 2019 02:13:15 +0000 (21:13 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 23 Apr 2019 15:36:36 +0000 (11:36 -0400)
commit951d60f8cdc886adff09201ff65002e3ee1a4c61
tree9f04720191744b04304fccda0db5d8fddc094a2b
parent09bb8c85577e761062ff8c85847bf49bad4ea86f
radeonsi: delay adding BOs at the beginning of IBs until the first draw

so that bound compute shader resources won't be added when they are not
needed and same for graphics.

Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_gfx_cs.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.c