Add parameters validation to glGetUniform

According to GLES2.0 Spec, glGetUniform return the value of a
uniform variable. dEQP test it with functional.negative_api.
state.get_uniformfv and functional.negative_api.state.
get_uniformiv. To pass the test cases, we should add object
validation to glGetUniform API. You can see details in
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetUniform.xml

Change-Id: Idf95805419fa90d813c9a94765fa6731be6ca661
Signed-off-by: Lizhe Liu <lizhe.liu@intel.com>
1 file changed