diff options
author | Brian Paul <[email protected]> | 2010-01-07 10:54:56 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-07 10:55:00 -0700 |
commit | 16b5d2eba3b5ccb56c26c0d1c66763f99f1ad191 (patch) | |
tree | 94e63105f30a93176dddb69d7e32520f83d20e38 /common.py | |
parent | b841c2756e6d697d5b2884317c0daa3f176195a6 (diff) |
tgsi: move register checking code before check_register_usage()
check_register_usage() frees the scan_register *reg data so we were
reading from freed memory. This fixes a valgrind error found with
piglit's glsl-vs-mov-after-deref test.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions