Merge branch 'release/1.2.2' into dev
Fix fvardata interpolation on adaptive patches.
If Hbr carries no fvar data, then we shouldn't attempt to build fvar data tables in Far,
where the factory requests it or not...

fixes #169
Fix cmakefile and #ifdefs for opencl configuration.
- adding varying data interpolation to the EvalLimit module

- minor refactoring of the LimitEvalContext to accomodate all the data buffers

- pushing some minor sub-patch functionality back to FarPatchParams

- extend example code with randomly generated varying vertex colors
Fix bug : multi mesh wasn't working correctly. FarMultiMesh has to set meshIndex to FarKernelBatch.
fixes #170
first pass at face-varying interpolation for CpuEvalLimit - still
a couple of kinks to be worked out...
evalLimit example : make sure to reset the output buffer on creation - some of the prims may not
set all the point colors (if face-varying data is missing on the test shape for instance)
and we don't want random values creeping from unset memory allocations.
shape_utils : make sure we don't create a mesh with face-varying data declared
if the shape does not actually contain usable face-varying data.
- fix a face-varying bug in shape_utils : now face-varying UVs are indexed correctly
  coming out of our shape format

- set blue component of point-cloud to 0 in face-varying mode (save a few micro-secs)
- add a message to limitEval when trying to display face-varying UVs on shapes
  that do not have that type of data

- fix some regression shapes that had "empty" uv values
  (including some minor topo surgery that luckily appears to not break
  regression baselines)
fix FarPatchTables::IsFeatureAdaptive() :
- trivial return if Gregory specific patch data is set
- or iterate through the patch-arrays until an adaptive patch is found (REGULAR,...,GREGORY_BOUNDARY)

fixes #173
Updated glsl code texelFetchBuffer -> texelFetch

This allows us to remove unnecessary directives
to require GL_EXT_gpu_shader4
Fixed some glsl preprocessor tests

Changed #if --> #ifdef for OSD_ENABLE_SCREENSPACE_TESSELLATION
Fixed glsl shader portability

- defined a fallback value for ROTATE
- made GetPatchLevel() a macro to avoid
  referencing gl_PrimitiveID from vertex shaders
- fixed float array initializers
Fixed glsl unsigned conversions in Gregory shaders
Fixed glsl shader portability (input,output)
Fixed glsl shader portability edgeDistance

Moved all edgeDistance declarations to client shader code.
Consolidated OpenGL includes into osd/opengl.h
Fixed VS2010 build warning/error