diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index ed2db3d0042..f4e522dd7c1 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -5259,7 +5259,7 @@ static void si_shader_dump_disassembly(struct si_screen *screen, int count = nbytes - line; const char *nl = memchr(disasm + line, '\n', nbytes - line); if (nl) - count = nl - disasm; + count = nl - (disasm + line); if (count) { pipe_debug_message(debug, SHADER_INFO, |