From: José Fonseca Date: Wed, 4 Sep 2013 13:54:31 +0000 (+0100) Subject: trace: Support bigger TGSI shaders. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9641f1037c285612aebbab318a7db86a8bfb1c21;p=mesa.git trace: Support bigger TGSI shaders. Trivial. --- diff --git a/src/gallium/drivers/trace/tr_dump_state.c b/src/gallium/drivers/trace/tr_dump_state.c index e11f866b42e..22f1d278033 100644 --- a/src/gallium/drivers/trace/tr_dump_state.c +++ b/src/gallium/drivers/trace/tr_dump_state.c @@ -255,7 +255,6 @@ void trace_dump_clip_state(const struct pipe_clip_state *state) void trace_dump_shader_state(const struct pipe_shader_state *state) { - static char str[8192]; unsigned i; if (!trace_dumping_enabled_locked()) @@ -271,6 +270,7 @@ void trace_dump_shader_state(const struct pipe_shader_state *state) trace_dump_member_begin("tokens"); if (state->tokens) { + static char str[64 * 1024]; tgsi_dump_str(state->tokens, 0, str, sizeof(str)); trace_dump_string(str); } else {