Re: [Mesa-dev] [PATCH] st/glsl_to_tgsi: fix potential crash when allocating temporaries

2016-04-28 Thread Nicolai Hähnle
Reviewed-by: Nicolai Hähnle On 28.04.2016 14:09, Samuel Pitoiset wrote: When index - t->temps_size is greater than 4096, allocating space for temporaries on demand will miserably crash. This can happen when a game uses a lot of temporaries like the recent released Tomb

Re: [Mesa-dev] [PATCH] st/glsl_to_tgsi: fix potential crash when allocating temporaries

2016-04-28 Thread Ilia Mirkin
Cc: "11.1 11.2" Reviewed-by: Ilia Mirkin On Thu, Apr 28, 2016 at 3:09 PM, Samuel Pitoiset wrote: > When index - t->temps_size is greater than 4096, allocating space for > temporaries on demand will miserably

[Mesa-dev] [PATCH] st/glsl_to_tgsi: fix potential crash when allocating temporaries

2016-04-28 Thread Samuel Pitoiset
When index - t->temps_size is greater than 4096, allocating space for temporaries on demand will miserably crash. This can happen when a game uses a lot of temporaries like the recent released Tomb raider. Signed-off-by: Samuel Pitoiset ---