mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
trace: Support bigger TGSI shaders.
Trivial.
This commit is contained in:
parent
c59659ca08
commit
9641f1037c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue