mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
r600g/sb: fix incorrect assert
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
parent
e9aa46e665
commit
8e41ced4b3
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ sel_chan regbits::find_free_bit() {
|
||||||
|
|
||||||
bit = __builtin_ctz(dta[elt]) + (elt << bt_index_shift);
|
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;
|
return bit + 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue