Re: [Mesa-dev] [PATCH 0/2] v4: Fix array overrun with too many uniforms

2014-02-05 Thread Petri Latvala
On 12/30/2013 11:44 AM, Petri Latvala wrote: Fourth version of patch series. - Fixed vec4_register_coalesce unit test. That test passes NULL for prog_data, which Mesa proper doesn't do. - Renamed uniform_param_count to uniform_array_size. - Used ALIGN() to round up when dividing buffer size b

[Mesa-dev] [PATCH 0/2] v4: Fix array overrun with too many uniforms

2013-12-30 Thread Petri Latvala
Fourth version of patch series. - Fixed vec4_register_coalesce unit test. That test passes NULL for prog_data, which Mesa proper doesn't do. - Renamed uniform_param_count to uniform_array_size. - Used ALIGN() to round up when dividing buffer size by 4. - Used MAX2() instead of taking maximum man