From: Bas Nieuwenhuizen Date: Mon, 8 Jul 2019 21:18:28 +0000 (+0200) Subject: radv/gfx10: Use correct count of max_offchip_buffers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=343a435c462286597af5257278933893a6a6ac0c;p=mesa.git radv/gfx10: Use correct count of max_offchip_buffers. Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index d756357bcca..35bf0102b43 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2368,9 +2368,12 @@ radv_get_hs_offchip_param(struct radv_device *device, uint32_t *max_offchip_buff case GFX7: case GFX8: case GFX9: - default: max_offchip_buffers = MIN2(max_offchip_buffers, 508); break; + case GFX10: + break; + default: + break; } *max_offchip_buffers_p = max_offchip_buffers;