projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea23ba
)
aco: improve assertion at the end of spiller
author
Rhys Perry
<pendingchaos02@gmail.com>
Fri, 10 Jan 2020 16:16:43 +0000
(16:16 +0000)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 29 Jan 2020 18:02:27 +0000
(18:02 +0000)
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>
src/amd/compiler/aco_spill.cpp
patch
|
blob
|
history
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);
}
}