• Jason Ekstrand's avatar
    anv: Enable UBO pushing · 4c7af87f
    Jason Ekstrand authored
    Push constants on Intel hardware are significantly more performant than
    pull constants.  Since most Vulkan applications don't actively use push
    constants on Vulkan or at least don't use it heavily, we're pulling way
    more than we should be.  By enabling pushing chunks of UBOs we can get
    rid of a lot of those pulls.
    On my SKL GT4e, this improves the performance of Dota 2 and Talos by
    around 2.5% and improves Aztec Ruins by around 2%.
    Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
anv_device.c 85.8 KB