mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 03:30:36 +02:00
panfrost: report correct MAX_VARYINGS
Fixes packing-varying piglit failures
Cc: mesa-stable
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29017>
(cherry picked from commit 81f42d82ed)
This commit is contained in:
parent
965f8b10d5
commit
063edd4df1
2 changed files with 2 additions and 4 deletions
|
|
@ -44,7 +44,7 @@
|
|||
"description": "panfrost: report correct MAX_VARYINGS",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -298,9 +298,7 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param)
|
|||
return 4;
|
||||
|
||||
case PIPE_CAP_MAX_VARYINGS:
|
||||
/* Return the GLSL maximum. The internal maximum
|
||||
* PAN_MAX_VARYINGS accommodates internal varyings. */
|
||||
return MAX_VARYING;
|
||||
return dev->arch >= 9 ? 16 : 32;
|
||||
|
||||
/* Removed in v6 (Bifrost) */
|
||||
case PIPE_CAP_GL_CLAMP:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue