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.



Regards,
Vedran

--
Vedran Miletić
vedran.miletic.net
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to