QShaderNode: use rule with highest version number


Pick the supported rule with highest version number. For instance, if
we're looking for a rule for OpenGL ES 3.2, and there's a rule for ES
2.0 and another one for ES 3.0, make sure the rule for ES 3 is
selected.

Pick-to: 6.1 5.15
Change-Id: Ie517206948bc0422f6254472de43cda4dd2ce982
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commite5276cd4cdc6b7b2e37c14e6983eaf4ce31b5a1c
parent09c04d4078e0304ccc7d6dad327be10458d4e2a8
authorMauro Persano <mauro.persano@kdab.com>
committerMauro Persano <mauro.persano@kdab.com>
commit timeTue, 4 May 2021 11:35:00 +0000