From 9641f1037c285612aebbab318a7db86a8bfb1c21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 4 Sep 2013 14:54:31 +0100 Subject: [PATCH] trace: Support bigger TGSI shaders. Trivial. --- src/gallium/drivers/trace/tr_dump_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2