radeonsi: reduce PIPE_SHADER_CAP_MAX_CONST_BUFFER_SIZE value
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 16 Sep 2020 21:11:01 +0000 (23:11 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 21 Sep 2020 12:15:03 +0000 (14:15 +0200)
commitb73e165a04c02aac8c2c7c1b5c34ae7c67bb7187
tree6644d9085cd2d487628ebfb486a7e3d776c067a5
parent1826367333e22f907259b39d4887e7de57ad8d51
radeonsi: reduce PIPE_SHADER_CAP_MAX_CONST_BUFFER_SIZE value

The new value (64 MB) is a compromise:
- the old value was very large (max_alloc & 0xffffffff) and caused https://gitlab.freedesktop.org/mesa/mesa/-/issues/3301
- amdgpu-pro allows 512MB, nvidia 64MB

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6754>
src/gallium/drivers/radeonsi/si_get.c