From dc6c21ba6d7054fa367513fa1229fa4ae891599d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 11 Jun 2013 07:47:11 -0700 Subject: [PATCH] r600g: Force stack size to 3 --- src/gallium/drivers/r600/r600_llvm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index c1809b3..a4db987 100644 --- a/src/gallium/drivers/r600/r600_llvm.c +++ b/src/gallium/drivers/r600/r600_llvm.c @@ -635,7 +635,8 @@ unsigned r600_llvm_compile( case R_028860_SQ_PGM_RESOURCES_VS: case R_0288D4_SQ_PGM_RESOURCES_LS: bc->ngpr = G_028844_NUM_GPRS(value); - bc->nstack = G_028844_STACK_SIZE(value); +// bc->nstack = G_028844_STACK_SIZE(value); + bc->nstack = 3; break; case R_02880C_DB_SHADER_CONTROL: *use_kill = G_02880C_KILL_ENABLE(value); -- 1.8.1.4