summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKai Wasserbäch <[email protected]>2013-10-27 19:36:07 +0100
committerTom Stellard <[email protected]>2013-10-30 16:40:06 -0700
commitbbb77fc2f19ed37f0ef9243b11bb4f74d9ca677c (patch)
treec799d7d071690f38fef9ef6da59550b5e9adf434 /src
parent193594a1b87e4c63cf034fdb6eadeff7b58eed12 (diff)
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 <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.c2
1 files changed, 1 insertions, 1 deletions
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])));