panfrost: Fix blit shader names

first should be initialized to true if we want to get rid of the leading
';' in the shader name.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
This commit is contained in:
Boris Brezillon 2021-04-28 12:34:10 +02:00
parent added29e91
commit 96f6254d19

View file

@ -451,7 +451,7 @@ pan_blitter_get_blit_shader(struct panfrost_device *dev,
unsigned sig_offset = 0;
char sig[256];
bool first = false;
bool first = true;
for (unsigned i = 0; i < ARRAY_SIZE(key->surfaces); i++) {
const char *type_str;
if (key->surfaces[i].type == nir_type_invalid)