diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-08-28 23:05:49 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-02 13:34:54 +0100 |
commit | 836b0ae8b618e857a0f12ed725a091cf81da3000 (patch) | |
tree | 0cc58fdfb8a0013d9b4406bed1aec62fa1c48db4 /scons | |
parent | 3fe59905fc684f64508982d405031771e273e656 (diff) |
nvc0/ir: avoid infinite recursion when finding first uses of tex
In certain circumstances, findFirstUses could end up doubling back on
instructions it had already processed, resulting in an infinite
recursion. Avoid this by keeping track of already-visited instructions.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83079
Tested-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit c4bb436f7660c951cd27e52660cf825da68793e5)
Conflicts:
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions