mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-18 01:50:40 +01:00
panfrost: match a GL object's maximum label length to KMD uAPI limit
At present, this is the value mandated by the KMD's uAPI, or 4096 bytes. Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38027>
This commit is contained in:
parent
a68c584d70
commit
a24f490488
1 changed files with 3 additions and 0 deletions
|
|
@ -932,6 +932,9 @@ panfrost_init_screen_caps(struct panfrost_screen *screen)
|
|||
caps->max_texture_lod_bias = 16.0; /* arbitrary */
|
||||
|
||||
caps->shader_atomic_int64 = dev->arch >= 9;
|
||||
|
||||
/* We hard-code this value as it is dictated by driver uAPI */
|
||||
caps->max_label_length = 4096;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue