mesa/src
Ilia Mirkin 7bc29c784a nv50/ir: fix error finding free element in bitset in some situations
This really only hits for bitsets with a size of a multiple of 32. We
can end up with pos = -1 as a result of the ffs, which we in turn decide
is a valid position (since we fall through the loop and i == 1, we end
up adding 32 to it, so end up returning 31 again).

Up until recently this was largely unreachable, as the register file
sizes were all 63 or 255. However with the advent of compute shaders
which can restrict the number of registers, this can now happen.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 18d11c9989)
2016-06-02 13:24:08 +01:00
..
compiler Revert "glsl: fix xfb_offset unsized array validation" 2016-06-02 13:21:36 +01:00
egl mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
gallium nv50/ir: fix error finding free element in bitset in some situations 2016-06-02 13:24:08 +01:00
gbm gbm: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
getopt
glx mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
gtest
hgl
intel Don't use python 3 2016-06-02 13:15:38 +01:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi mapi: expose new functions in GL ES 3.2 2016-05-26 21:25:53 -04:00
mesa i965/fs: Allow scalar source regions on SNB math instructions. 2016-06-02 13:20:45 +01:00
util mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Makefile.am automake: rework the git_sha1.h rule, include in tarball 2016-05-30 17:53:45 +01:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00