radv: enable primitive binning by default
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 15 Nov 2018 08:58:52 +0000 (09:58 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 16 Nov 2018 16:51:15 +0000 (17:51 +0100)
commitd031d5c9994bd67329f2b2c7e9a4457af671b05a
treed0a0e7e11e0ad6c95aeaa574d7e7969e0c4000d4
parentafd834b62e384f63b712115c1f79659b03828b0c
radv: enable primitive binning by default

After doing a bunch of benchmarks, primitive binning helps
some games like The Talos Principle (+5%) or Serious Sam 2017
(+3%). For other titles, either it doesn't change anything or
it hurts very few (less than 1%).

This only affects GFX9.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c