From: Samuel Pitoiset Date: Tue, 25 Jun 2019 09:50:13 +0000 (+0200) Subject: radv/gfx10: disable binning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe4419d3c7b7be90bcf84011c8f5deb3896ac6e9;p=mesa.git radv/gfx10: disable binning Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- 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. */