aco: improve assertion at the end of spiller

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3257>
This commit is contained in:
Rhys Perry
2020-01-10 16:16:43 +00:00
committed by Marge Bot
parent 5ea23ba659
commit 26d2511bcb
+1 -1
View File
@@ -1774,7 +1774,7 @@ void spill(Program* program, live& live_vars, const struct radv_nir_compiler_opt
/* update live variable information */
live_vars = live_var_analysis(program, options);
assert(program->num_waves >= 0);
assert(program->num_waves > 0);
}
}