unsigned long is used as a bit mask for recording
register usage in nested loops. This means that after 32 levels of
nested loops (or more if unsigned long is wider) the code reverts to
treating deeper levels as black boxes.
Signed-off-by: Tomáš Trnka
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
I'm unfortunately unable to run piglit at all as it fails the sanity check
due to some mysterious z-buffer readback inaccuracy.
I welcome any comments and suggestions (as this is my first Mesa
contribution), but please CC me as I'm not subscribed to the list.
Best regards,
Tomáš Trnka