shader-types: Check the size of the values
shader-types: Check the size of the values

Emit a critical error if the user tries to send more data than
the static shader GValues can hold.

This fixes the random memory corruption you get when specifying
size > 4.

Signed-off-by: Emmanuele Bassi <049ee2061f71220e5aaf33f5be422fc2a2b06a44@linux.intel.com>

spatulasnout/clutter,nobled/clutter,GNOME/clutter,jigpu/clutter,Distrotech/clutter,jigpu/clutter,djdeath/clutter-android,collects/clutter,jigpu/clutter,djdeath/clutter-multithreaded,Distrotech/clutter,rkudiyarov/clutter_osx,ebassi/clutter,djdeath/clutter,Distrotech/clutter,djdeath/clutter-android,djdeath/clutter-multithreaded,djdeath/clutter,ebassi/clutter,GNOME/clutter,spatulasnout/clutter,nobled/clutter,kerrickstaley/clutter-vala,collects/clutter,Distrotech/clutter,rkudiyarov/clutter_osx,spatulasnout/clutter,nobled/clutter,djdeath/clutter,heysion/clutter-clone,kerrickstaley/clutter-vala,djdeath/clutter,djdeath/clutter-multithreaded,spatulasnout/clutter,djdeath/clutter-android,heysion/clutter-clone,djdeath/clutter,heysion/clutter-clone,ebassi/clutter,djdeath/clutter-android,jigpu/clutter,ebassi/clutter,heysion/clutter-clone,djdeath/clutter-multithreaded,GNOME/clutter,dlespiau/clutter,dlespiau/clutter,Distrotech/clutter,ebassi/clutter,collects/clutter,dlespiau/clutter,jigpu/clutter,jigpu/clutter,collects/clutter,GNOME/clutter,rkudiyarov/clutter_osx,djdeath/clutter-android,kerrickstaley/clutter-vala,spatulasnout/clutter,kerrickstaley/clutter-vala,heysion/clutter-clone,rkudiyarov/clutter_osx,Distrotech/clutter,GNOME/clutter,collects/clutter,djdeath/clutter