radeonsi: always prefetch later shaders after the draw packet
authorMarek Olšák <marek.olsak@amd.com>
Tue, 3 Apr 2018 01:08:05 +0000 (21:08 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 13 Apr 2018 16:31:04 +0000 (12:31 -0400)
commit9a1363427ea3300d2ff9ef5ec0cc2ffbee22cffe
treecb858a22ec483ceab44870dc36742116fdb0e76c
parente4b7974ec701267d96a4417de254122c032191d3
radeonsi: always prefetch later shaders after the draw packet

so that the draw is started as soon as possible.

v2: only prefetch the API VS and VBO descriptors

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeonsi/si_cp_dma.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c