mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 15:00:11 +01:00
zink: fix max geometry input component advertising
forgot to divide by 4 somehow cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15716>
This commit is contained in:
parent
5ca6b28c58
commit
c5f44e51fb
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ zink_get_shader_param(struct pipe_screen *pscreen,
|
|||
max = screen->info.props.limits.maxTessellationEvaluationInputComponents / 4;
|
||||
break;
|
||||
case PIPE_SHADER_GEOMETRY:
|
||||
max = screen->info.props.limits.maxGeometryInputComponents;
|
||||
max = screen->info.props.limits.maxGeometryInputComponents / 4;
|
||||
break;
|
||||
case PIPE_SHADER_FRAGMENT:
|
||||
/* intel drivers report fewer components, but it's a value that's compatible
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue