r600g/sb: fix incorrect assert

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
Vadim Girlin 2013-05-24 19:07:27 +04:00
parent e9aa46e665
commit 8e41ced4b3
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ sel_chan regbits::find_free_bit() {
bit = __builtin_ctz(dta[elt]) + (elt << bt_index_shift);
assert(bit < MAX_GPR - num_temps);
assert(bit < ((MAX_GPR - num_temps) << 2));
return bit + 1;
}