diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_ra_init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_ra_init.cpp b/src/gallium/drivers/r600/sb/sb_ra_init.cpp index d5fe4f95e5a..bfe5ab9a1bc 100644 --- a/src/gallium/drivers/r600/sb/sb_ra_init.cpp +++ b/src/gallium/drivers/r600/sb/sb_ra_init.cpp @@ -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; } |