From fe4419d3c7b7be90bcf84011c8f5deb3896ac6e9 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 25 Jun 2019 11:50:13 +0200 Subject: [PATCH] radv/gfx10: disable binning Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index e429192ce89..f0f7a45a143 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1897,7 +1897,8 @@ VkResult radv_CreateDevice( } } - device->pbb_allowed = device->physical_device->rad_info.chip_class >= GFX9 && + /* TODO: Enable binning for GFX10. */ + device->pbb_allowed = device->physical_device->rad_info.chip_class == GFX9 && !(device->instance->debug_flags & RADV_DEBUG_NOBINNING); /* Disabled and not implemented for now. */ -- 2.30.2