anv: limit URB reconfigurations when using blorp
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 6 Mar 2019 11:42:14 +0000 (11:42 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 19 Apr 2019 15:58:06 +0000 (16:58 +0100)
commit0d46e404677264bfb12ada15290e39c10a5eb455
tree88016371d32435ba2d6d43387e4d522b42326fdc
parent84e70556fbd4ed4d00067f732ea177f29e4a2ec1
anv: limit URB reconfigurations when using blorp

If the last graphics pipeline bound to the command buffer has enough
space in its VS URB entries for Blorp then avoid reconfiguring the URB
partitions.

v2: s/0/MESA_SHADER_VERTEX/ (Caio)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_blorp_exec.c
src/intel/vulkan/genX_pipeline.c