diff options
author | Brian Paul <brianp@vmware.com> | 2009-12-11 09:16:25 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-11 09:16:27 -0700 |
commit | 5076a4f53a2f34cc9116b45951037f639885c7a1 (patch) | |
tree | 748c458183b785403f95bd6ace54f96d3a6819cf /src/mesa/shader/slang/slang_compile.c | |
parent | f7f1211b9b0a8fa0e5f5427b74b4eee4dabf65af (diff) |
mesa: check dst reg in _mesa_find_free_register()
If a register was only being used as a destination (as will happen when
generated condition-codes) we missed its use. So we'd errantly return
a register index that was really in-use, not free.
Fixes bug 25579.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.c')
0 files changed, 0 insertions, 0 deletions