projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
aco: improve assertion at the end of spiller
[mesa.git]
/
src
/
amd
/
compiler
/
aco_spill.cpp
diff --git
a/src/amd/compiler/aco_spill.cpp
b/src/amd/compiler/aco_spill.cpp
index 4179a77538893f8b42fd6bc02cc65d2137331fab..99275971048129a0d5c1ae754d3430fb12cbe6f1 100644
(file)
--- a/
src/amd/compiler/aco_spill.cpp
+++ b/
src/amd/compiler/aco_spill.cpp
@@
-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);
}
}