Jogamp
Fix ES2 shaders
authorSven Gothel <sgothel@jausoft.com>
Wed, 28 Sep 2011 15:14:31 +0000 (17:14 +0200)
committerSven Gothel <sgothel@jausoft.com>
Wed, 28 Sep 2011 15:14:31 +0000 (17:14 +0200)
commitf4730179a4436dff7282bc42bc6aa58fb5fb63b5
tree13fb70dee2c10ff5e3fea13447d1f7657ed5b5c9
parent09fd89250066642d05d84699beaacb0c73bcc408
Fix ES2 shaders

Add missing floating point precision qualifiers.

'#extension OES_standard_derivatives : require' somehow doesn't pass the GLSL compiler,
however '#extension GL_OES_standard_derivatives : enable' does.

Currently works on ARM's Mali-400 MP, NV Tegra still don't show a picture.

TODO: More in depth evaluation.
src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.fp
src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-xxx.fp
src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-es2.fp
src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-xxx.fp
src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp
http://JogAmp.org git info: FAQ, tutorial and man pages.