Re: [Mesa-dev] [PATCH] mesa: reallocate uniform bindings when the max value changes.

2013-05-14 Thread Marek Olšák
Alternative fix: http://lists.freedesktop.org/archives/mesa-dev/2013-May/039360.html In any case, the fix must be a candidate for the stable branches. Marek On Tue, May 14, 2013 at 10:39 AM, Dave Airlie wrote: > From: Dave Airlie > > Some drivers change the default for Const.MaxUniformBufferB

[Mesa-dev] [PATCH] mesa: reallocate uniform bindings when the max value changes.

2013-05-14 Thread Dave Airlie
From: Dave Airlie Some drivers change the default for Const.MaxUniformBufferBindings, the current code allocates them before the point drivers would ever get a chance to do such modifications. Instead allocate them, and if the driver requires it can later reallocate them to there larger side. I