glsl: Document and enforce restriction on type values
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Jun 2016 22:17:16 +0000 (15:17 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 6 Jul 2016 00:55:29 +0000 (17:55 -0700)
commit795d8dff89c7e6841f61e3b9851de95765f4d001
tree7c70cf664246ad82caced3afc547eadc3d1038e0
parent3119871bd9558e5881466b70a4c366d2f83bba82
glsl: Document and enforce restriction on type values

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h