mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +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> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10548>
This commit is contained in:
parent
e2b8f3d036
commit
bf0f96f893
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