瀏覽代碼

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>
tags/18.2-branchpoint
Timothy Arceri 7 年之前
父節點
當前提交
03c370d2f1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/gallium/drivers/radeonsi/si_pipe.h

+ 1
- 1
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;

Loading…
取消
儲存