diff options
author | Rhys Perry <[email protected]> | 2020-01-10 16:16:43 +0000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-29 18:02:27 +0000 |
commit | 26d2511bcbf1f0e3affe85d42d54b4970c78a7ba (patch) | |
tree | 8f998ac22d131334a2eb2e247af441e40e396a7a /src/amd | |
parent | 5ea23ba659adc05ff75ca7a4c9d1bd01db889ddd (diff) |
aco: improve assertion at the end of spiller
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3257>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/compiler/aco_spill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_spill.cpp b/src/amd/compiler/aco_spill.cpp index 4179a775388..99275971048 100644 --- 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); } } |