gallium/st: fix shader_has_one_variant
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 16 Mar 2021 17:43:37 +0000 (18:43 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 18 Mar 2021 10:16:06 +0000 (11:16 +0100)
commitbdfe0e3ef430f756e482384779b75e0ed153396c
tree10a0429e11f5b090f884804c7e7d14fc71946d55
parentcc314361e3a3da8efd0a71f75b3210f9f31a84f5
gallium/st: fix shader_has_one_variant

I think we need to care about this here as well, otherwise the variant
logic might be short-circuited.

Fixes: ad0037fcfe1 ("mesa/st: set lower_point_size for tes/gs during program update")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9631>
src/mesa/state_tracker/st_context.c