virgl: Only progagate the uniform numbers if the numbers are actually right
authorCorentin Noël <corentin.noel@collabora.com>
Fri, 8 Jul 2022 10:06:26 +0000 (12:06 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Jul 2022 12:58:20 +0000 (12:58 +0000)
commit5b683ba19ac77d6c7dfd8de478678d0b90ba764f
treeacf36102643d498db49ca94142a9e0f08a62fd09
parent70f1291d8e4f58611e21489d73ac3d96ab3a9b14
virgl: Only progagate the uniform numbers if the numbers are actually right

When the field was first introduces, the numbers were reporting the number of
vec4 instead of the number of float. Do not propagate them if they are wrong.

Fixes: d92c1ca01b326d8f0ff210828830d6542f9e67f7

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17415>
src/gallium/drivers/virgl/virgl_screen.c