mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
lavapipe: fix min_vertex_pipeline_param
Fixes:d91a549b67("lavapipe: check all vertex-stages") Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33176> (cherry picked from commit0f656756ec)
This commit is contained in:
parent
1579ff453e
commit
59865a1b1e
2 changed files with 2 additions and 2 deletions
|
|
@ -1404,7 +1404,7 @@
|
|||
"description": "lavapipe: fix min_vertex_pipeline_param",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d91a549b67f3a13c4763d82e333e50395c300507",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@ min_vertex_pipeline_param(struct pipe_screen *pscreen, enum pipe_shader_cap para
|
|||
PIPE_SHADER_CAP_MAX_INSTRUCTIONS))
|
||||
continue;
|
||||
|
||||
val = MAX2(val, pscreen->get_shader_param(pscreen, i, param));
|
||||
val = MIN2(val, pscreen->get_shader_param(pscreen, i, param));
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue