From 69e29c3ef8709c729116e18691b6f7e6dff86613 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 25 Jan 2013 15:37:09 +0100 Subject: [PATCH] debug extparam naming shouldn't start at 8, it's confusing, param 9 is now named extparam0 --- ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.c b/ir.c index 897c602..38882ec 100644 --- a/ir.c +++ b/ir.c @@ -3113,7 +3113,7 @@ static ir_value* ir_gen_extparam_proto(ir_builder *ir) ir_value *global; char name[128]; - snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos)+8)); + snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos))); global = ir_value_var(name, store_global, TYPE_VECTOR); vec_push(ir->extparam_protos, global); -- 2.39.2