Re: [Mesa-dev] [PATCH] draw: (trivial) fix out-of-bounds vector initialization

2015-05-06 Thread Brian Paul
On 05/06/2015 08:05 AM, srol...@vmware.com wrote: From: Roland Scheidegger Was off-by-one. llvm says inserting an element with an index higher than the number of elements yields undefined results. Previously such inserts were ignored but as of llvm revision 235854 the vector gets replaced with

[Mesa-dev] [PATCH] draw: (trivial) fix out-of-bounds vector initialization

2015-05-06 Thread sroland
From: Roland Scheidegger Was off-by-one. llvm says inserting an element with an index higher than the number of elements yields undefined results. Previously such inserts were ignored but as of llvm revision 235854 the vector gets replaced with undef, causing failures. This fixes piglit gl-3.2-la