On 14 June 2016 at 22:36, Andres Gomez <ago...@igalia.com> wrote: > For some cases we want to have shaders where we load an exact bit > pattern into a signed int. > > This fixes the errno-based range validation that was broken when the > integer vbo attribute parsing on 32-bit systems was recently fixed. > Is this because strtol{,l} requires the '-' sign to prefix the negative values, while we feed it a unsigned encoded signed value ? I.e. function throws an error if we give it 0x8000 0000, as it expects -0x7fff ffff. Or is that due to sizeof(long) varying between 32 and 64bit systems ?
-Emil _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit