Re: [Mesa-dev] [PATCH] softpipe: dynamically allocate space for immediate constants

2018-10-16 Thread Roland Scheidegger
Looks reasonable to me. Reviewed-by: Roland Scheidegger Am 16.10.18 um 10:07 schrieb Gert Wollny: > From: Gert Wollny > > The number of immediate constants was fixed and the size check was > only done by means of an assertion. Given this a shader that emits > more immediate constants would res

[Mesa-dev] [PATCH] softpipe: dynamically allocate space for immediate constants

2018-10-16 Thread Gert Wollny
From: Gert Wollny The number of immediate constants was fixed and the size check was only done by means of an assertion. Given this a shader that emits more immediate constants would result in a memory corruption when mesa is build in release mode. Instead of using this fixed limit allocate the