mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
radeonsi: don't declare pointers to static strings
The compiler should be able to optimize them away, but still. There's no point in declaring those as pointers, and if the compiler *doesn't* optimize them away, they add unnecessary load-time relocations. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
3c958d924a
commit
16bee0e5f6
1 changed files with 2 additions and 2 deletions
|
|
@ -38,10 +38,10 @@
|
|||
|
||||
#include "compiler/nir/nir.h"
|
||||
|
||||
static const char *scratch_rsrc_dword0_symbol =
|
||||
static const char scratch_rsrc_dword0_symbol[] =
|
||||
"SCRATCH_RSRC_DWORD0";
|
||||
|
||||
static const char *scratch_rsrc_dword1_symbol =
|
||||
static const char scratch_rsrc_dword1_symbol[] =
|
||||
"SCRATCH_RSRC_DWORD1";
|
||||
|
||||
struct si_shader_output_values
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue