wflinfo: handle optional patch level in OpenGL and GLSL version strings
Created by: dcbaker
According to the 4.5 spec (section 22.2):
The version number is either of the form major number.minor number or major number.minor number.release number, where the numbers all have one or more digits. The minor number for SHADING_LANGUAGE_VERSION is always two digits, matching the OpenGL Shading Language Specification release number. For
example, this query might return the string "4.20" while the corresponding VERSION query returns "4.2". The release number and vendor specific information are optional. However, if present, then they pertain to the server and their format and contents are implementation-dependent.
Currently waffle will provide an error when the patch version is encountered.
This is exposed in the piglit fast-skipping mechanism on nVidia's proprietary driver (and presumably on AMD's also), due to a bug in that code in piglit.