wcore: don't parse/validate the exact major/minor version
commite650f6f7694192117723de766f9abe95818b7573
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 5 Apr 2016 21:58:17 +0000 (5 22:58 +0100)
committerChad Versace <chad.versace@intel.com>
Tue, 14 Jun 2016 19:31:57 +0000 (14 12:31 -0700)
treec1edc495cd5014bcf79913176d7f1214b0c2a364
parent8098f1dd750e529e7d8e1e69e2369922ecd8b786
wcore: don't parse/validate the exact major/minor version

Keeping track what is and isn't the correct version at any given time
sounds unfeasible.

On one hand currently we allow any random value as minor for ES2 and
ES3, whist for GL we allow any values as long as they are >= 1.0

If we are to keep track what versions are valid, this is going to cause
problems as new versions of the specs get released.

Let's do the sane thing and remove all the fine-grained validation from
waffle.

v2 (Suggestions from Chad):
 - Keep < 1.0 check to prevent WAFFLE_DONT_CARE as context version.
 - Update the unit tests alongside this intended functionality change.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/waffle/core/wcore_config_attrs.c
src/waffle/core/wcore_config_attrs_unittest.c