summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-06-07 11:03:10 +1000
committerTimothy Arceri <[email protected]>2018-06-08 10:07:55 +1000
commit03c370d2f164847abad88c1af7c159db23014947 (patch)
treec4fdc85efe5bdbf8abe34c97f748ddb04b96fd10
parentfae3b38770cc524d28368b2287264668ce4e3e46 (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 <[email protected]>
-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 5d1671fb87f..cf9b124fe5a 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -409,7 +409,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;