From: Kai Wasserbäch Date: Sun, 27 Oct 2013 18:36:07 +0000 (+0100) Subject: radeonsi: Allow longer intrinsic names X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbb77fc2f19ed37f0ef9243b11bb4f74d9ca677c;p=mesa.git radeonsi: Allow longer intrinsic names 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 Reviewed-by: Tom Stellard --- diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 9f81a7b420b..dff8be0f0e5 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])));