mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radeonsi: fix possible truncation on renderer string
Fixes truncation warning in gcc 8.1
Fixes: 8539c9bf31 ("gallium/radeon: add the kernel version into the renderer string")
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
fae3b38770
commit
03c370d2f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue