r600g/sb: fix incorrect assert
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
parent
e9aa46e665
commit
8e41ced4b3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue