diff options
author | Kai Wasserbäch <[email protected]> | 2013-10-27 19:36:07 +0100 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-10-30 16:40:06 -0700 |
commit | bbb77fc2f19ed37f0ef9243b11bb4f74d9ca677c (patch) | |
tree | c799d7d071690f38fef9ef6da59550b5e9adf434 /src/gallium/drivers/radeonsi | |
parent | 193594a1b87e4c63cf034fdb6eadeff7b58eed12 (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/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_shader.c | 2 |
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]))); |