From: Dave Airlie Date: Mon, 5 Jun 2017 22:36:24 +0000 (+1000) Subject: radv: set offchip hs param like radeonsi. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a83f28d536d97615047f29ffb5f651a8afafb568;p=mesa.git radv: set offchip hs param like radeonsi. radeonsi never uses 512 here anymore. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 6c30cdeafa2..d80d74628b1 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1475,11 +1475,9 @@ radv_get_hs_offchip_param(struct radv_device *device, uint32_t *max_offchip_buff max_offchip_buffers = MIN2(max_offchip_buffers, 126); break; case CIK: - max_offchip_buffers = MIN2(max_offchip_buffers, 508); - break; case VI: default: - max_offchip_buffers = MIN2(max_offchip_buffers, 512); + max_offchip_buffers = MIN2(max_offchip_buffers, 508); break; }