radv: Implement binning on GFX9.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 30 Dec 2017 16:31:44 +0000 (17:31 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 31 Dec 2017 14:07:07 +0000 (15:07 +0100)
commit6a36bfc64d2096aa338958c4605f5fc6372c07b8
tree3a59c9fd9a30dcf09cb004511979d2010aa0829d
parentb0d17270ada1b7292f09b5d4ab2c77880ee64c35
radv: Implement binning on GFX9.

Overall it does not really help or hurt. The deferred demo gets 1%
improvement and some games a 3% decrease, so I don't think this
should be enabled by default.

But with the code upstream it is easier to experiment with it.

v2: Remove initializing the registers from si_emit_config.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c