gallium/radeon/winsyses: set reasonable max_alloc_size
authorMarek Olšák <marek.olsak@amd.com>
Tue, 4 Oct 2016 21:29:27 +0000 (23:29 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 5 Oct 2016 19:03:54 +0000 (21:03 +0200)
commit844f8268e1cde496a854a72e080558f3c5700583
treeeb5747f34cd4036d8c89eec85dcdaf80aa2ed069
parent1b37e5541c7d74c50124e5220936bd4b0234df6d
gallium/radeon/winsyses: set reasonable max_alloc_size

which is returned for GL_MAX_TEXTURE_BUFFER_SIZE.
It doesn't have any other use at the moment.
Bigger allocations are not rejected.

This fixes GL45-CTS.texture_buffer.texture_buffer_max_size on Bonaire.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c