mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
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:
parent
added29e91
commit
96f6254d19
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue