From 2c61c7d2fdc8c35c68f57f3a0536364141bbe6c9 Mon Sep 17 00:00:00 2001 Message-Id: <2c61c7d2fdc8c35c68f57f3a0536364141bbe6c9.1382898771.git.kai@dev.carbon-project.org> From: =?UTF-8?q?Kai=20Wasserb=C3=A4ch?= Date: Sun, 27 Oct 2013 19:29:02 +0100 Subject: [PATCH] radeonsi: Allow longer intrinsic names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: mesa-dev@lists.freedesktop.org Fixes a boat load of Piglit tests for me, which crashed like fdo#70913 before. Thanks to Michel Dänzer for the tip. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70913 Signed-off-by: Kai Wasserbäch --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 9f81a7b..dff8be0 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.c +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c @@ -1425,7 +1425,7 @@ static void build_tex_intrinsic(const struct lp_build_tgsi_action * action, struct lp_build_emit_data * emit_data) { struct lp_build_context * base = &bld_base->base; - char intr_name[23]; + char intr_name[127]; sprintf(intr_name, "%sv%ui32", action->intr_name, LLVMGetVectorSize(LLVMTypeOf(emit_data->args[0]))); -- 1.8.4.rc3