From d52f582ee36fda1913a7b2d498c5b49c3342beca Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Sat, 7 Dec 2013 06:43:20 +0400 Subject: [PATCH] r600g/sb: fix stack size computation for evergreen --- src/gallium/drivers/r600/sb/sb_bc_finalize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp index bc71cf8..9a0d7cd 100644 --- a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp +++ b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp @@ -803,7 +803,7 @@ unsigned bc_finalizer::get_stack_depth(node *n, unsigned &loops, stack_elements += 2; break; case HW_CLASS_EVERGREEN: - if (has_non_wqm_push_with_loops_on_stack) + if (has_non_wqm_push) ++stack_elements; break; } -- 1.8.4.2