From 45cd90c777245b3e7db9fb72816266987c909f07 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 18 Nov 2012 20:11:14 +0100 Subject: [PATCH] Add a # prefix to EXTPARM%i --- ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.c b/ir.c index 1fd94a0..46f5229 100644 --- a/ir.c +++ b/ir.c @@ -2711,7 +2711,7 @@ static void ir_gen_extparam(ir_builder *ir) ir_value *global; char name[128]; - snprintf(name, sizeof(name), "EXTPARM%i", (int)(vec_size(ir->extparams)+8)); + snprintf(name, sizeof(name), "#EXTPARM%i", (int)(vec_size(ir->extparams)+8)); global = ir_value_var(name, store_global, TYPE_VECTOR); def.name = code_genstring(name);