When comparing an vec3 and a vec4 array, scalar type is the same for both (float). Instead use the array element type to compare (that is, vec3 vs vec4). Fixes spec@glsl-1.20@compiler@invalid-vec4-array-to-vec3-array-conversion.vert piglit test. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Marek Olšák <maraeo@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37783>