[Mesa-dev] [PATCH 2/2] gallium/radeon: use max_alloc_size
vedran at miletic.net
Fri Jul 1 01:04:50 UTC 2016
On 07/01/2016 02:52 AM, Vedran Miletić wrote:
> Had something similar in the works, Bas did as well, but this approach
> is cleaner.
> With these changes, in si_pipe.c and r600_pipe.c, you should not return
> max_const_buffer_size anymore, since it can exceed int limits, but
> instead something like
> MAX2(0x7ffffff, max_const_buffer_size)
That was supposed to be MIN2().
> Haven't tried running memory-heavy OpenCL programs, but clinfo other
> than const buffer size looks good.
More information about the mesa-dev