diff options
author | José Fonseca <[email protected]> | 2013-09-04 14:54:31 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-09-12 11:24:24 +0100 |
commit | 9641f1037c285612aebbab318a7db86a8bfb1c21 (patch) | |
tree | 05bee87fc4b0a0d6fc24478e455e6fff8a0e78e9 /src/gallium | |
parent | c59659ca08cd567f826b14e26e1277e9746bb097 (diff) |
trace: Support bigger TGSI shaders.
Trivial.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |