aco: improve out-of-bounds checks during RA validation
Using program->config can give a higher limit than which it actually is, especially for SGPRs on GFX10+. The previous code also crashed if program->num_waves
was 0.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Using program->config can give a higher limit than which it actually is, especially for SGPRs on GFX10+. The previous code also crashed if program->num_waves
was 0.