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>
This commit is contained in:
committed by
Marge Bot
parent
4c74d14730
commit
81f42d82ed
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user