nvFx commit
correction on resource folder lookup
Fixed GLSL-compute light and a stupid bug in samples

the material structure was made of vec3 diffuse[3] etc.
Stupid mistake when I switched from floats to vec3... needed to remove
the [3] array.
I also fixed minor issues to make sure samples are running.
I added an optional runtime memory leak setup. A bit redundant on few
files and could be factorized.
removed P4 info headers
no ppt
added more search paths for glew 1.10.0
Merge remote-tracking branch 'upstream/master'

Conflicts:
	.gitignore
	FxLib/Annotation.cpp
	FxLib/Container.cpp
	FxLib/CstBuffer.cpp
	FxLib/Fx.h
	FxLib/FxLib.cpp
	FxLib/OpenGL_enums.h
	FxLib/Pass.cpp
	FxLib/SamplerState.cpp
	FxLib/Serialize.cpp
	FxLib/StateGroup.cpp
	FxLib/Technique.cpp
	FxLib/Uniform.cpp
	FxLib/resources.cpp
	FxLibCUDA/CUDAProgram.cpp
	FxLibCUDA/CUDAShader.cpp
	FxLibCUDA/FxCUDA.h
	FxLibCUDA/FxLibCUDA.cpp
	FxLibCUDA/UniformCUDA.cpp
	FxLibCUDA/resourcesCUDA.cpp
	FxLibD3D/CstBufferD3D.cpp
	FxLibD3D/D3DShader.cpp
	FxLibD3D/FxD3D.h
	FxLibD3D/FxLibD3D.cpp
	FxLibD3D/Program.cpp
	FxLibD3D/SamplerStateD3D.cpp
	FxLibD3D/StateGroupD3D.cpp
	FxLibD3D/UniformD3D.cpp
	FxLibD3D/resourcesD3D.cpp
	FxLibGL/CstBufferGL.cpp
	FxLibGL/FxGL.h
	FxLibGL/FxLibGL.cpp
	FxLibGL/GLSLProgram.cpp
	FxLibGL/GLSLShader.cpp
	FxLibGL/PathRendering.cpp
	FxLibGL/SamplerStateGL.cpp
	FxLibGL/StateGroupGL.cpp
	FxLibGL/UniformGL.cpp
	FxLibGL/resourcesGL.cpp
	FxLibOPTIX/FxLibOPTIX.cpp
	FxLibOPTIX/FxOPTIX.h
	FxLibOPTIX/OPTIXContext.cpp
	FxLibOPTIX/OPTIXProgram.cpp
	FxLibOPTIX/ResourcesOPTIX.cpp
	FxLibOPTIX/UniformOPTIX.cpp
	FxParser/FxParser.cpp
	FxParser/Grammar.cpp
	FxParser/Grammar.ypp
	FxParser/lex.cpp
	FxParser/lex.yy
	README.md
	cmake/FindGLEW.cmake
	doxygen/MainPage.dxt
	doxygen/StateGroups.dxt
	include/FxLib.h
	include/FxLibEx.h
	include/FxParser.h
	nvFxcc/nvFXcc.cpp
	samples/CMakeLists.txt
	samples/OpenGLLigthingEffect/OpenGLLigthingEffect.cpp
	samples/OpenGLSimpleEffect/OpenGLSimpleEffect.cpp
	samples/OpenGLSimpleEffect_PNTriangles/OpenGLSimpleEffect_PNTriangles.cpp
	samples/OpenGLSimpleEffect_skinning/OpenGLSimpleEffect_skinning.cpp
	samples/OpenGL_GLSLCompute/OpenGL_GLSLCompute.cpp
	samples/OpenGL_GLSLCompute/materialEffect.glslfx
	samples/OpenGL_GS_Sparkles/OpenGL_GS_Sparkles.cpp
	samples/OpenGL_HDR_IBL_Effect/OpenGL_HDR_IBL_Effect.cpp
	samples/shared/main.cpp
	samples/shared/nv_dds/nv_dds.cpp