summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2018-06-07 11:03:10 +1000
committerDylan Baker <dylan@pnwbakers.com>2018-06-11 10:08:30 -0700
commitbd60b6ef54ac76d398de51afb382ff9f887da05c (patch)
treeab25c5acb3b054d4a8df4cc8bc0e647ae12e1791
parent0376e1a79a20dd69352290b466acf245e8d4f054 (diff)
radeonsi: fix possible truncation on renderer string
Fixes truncation warning in gcc 8.1 Fixes: 8539c9bf3158 ("gallium/radeon: add the kernel version into the renderer string") Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (cherry picked from commit 03c370d2f164847abad88c1af7c159db23014947)
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 351c9f4cd3..e75663d4f1 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -178,7 +178,7 @@ struct si_screen {
struct radeon_info info;
uint64_t debug_flags;
- char renderer_string[100];
+ char renderer_string[183];
unsigned gs_table_depth;
unsigned tess_offchip_block_dw_size;