radeonsi: don't declare pointers to static strings
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 6 Dec 2018 11:43:44 +0000 (12:43 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 13 Jun 2019 00:28:23 +0000 (20:28 -0400)
commit16bee0e5f6a70e959be27c253c4be130bb034030
tree85c01976c8794b05c4c889ecdea3487d730865be
parent3c958d924ae291b1793c200b85d4d7a991c0fa97
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>
src/gallium/drivers/radeonsi/si_shader.c