Skip to content
Snippets Groups Projects
Commit 6010d7b8 authored by Karol Herbst's avatar Karol Herbst :crab: Committed by Ilia Mirkin
Browse files

gallium: add PIPE_CAP_MAX_VARYINGS


Some NVIDIA hardware can accept 128 fragment shader input components,
but only have up to 124 varying-interpolated input components. We add a
new cap to express this cleanly. For most drivers, this will have the
same value as PIPE_SHADER_CAP_MAX_INPUTS for the fragment shader.

Fixes KHR-GL45.limits.max_fragment_input_components

Signed-off-by: default avatarKarol Herbst <karolherbst@gmail.com>
[imirkin: rebased, improved docs/commit message]
Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Acked-by: default avatarRob Clark <robdclark@gmail.com>
Acked-by: default avatarEric Anholt <eric@anholt.net>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Cc: 19.0 <mesa-stable@lists.freedesktop.org>
parent 738346fa
No related branches found
No related tags found
No related merge requests found
Showing
with 54 additions and 16 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment