diff options
author | Alon Zakai <azakai@mozilla.com> | 2010-12-21 22:41:24 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2010-12-21 22:41:24 -0800 |
commit | 60cdfa59ed4eeefdfbe150933df67c21406e1247 (patch) | |
tree | a640b7e062545f5505c1894eaa8652d307023b29 /tests/gl/tutorial2.frag | |
parent | c244ee875744ad62774c75548461325492799990 (diff) |
initial skeleton for gl tests
Diffstat (limited to 'tests/gl/tutorial2.frag')
-rw-r--r-- | tests/gl/tutorial2.frag | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/gl/tutorial2.frag b/tests/gl/tutorial2.frag new file mode 100644 index 00000000..faa30eaf --- /dev/null +++ b/tests/gl/tutorial2.frag @@ -0,0 +1,11 @@ +#version 150 +// It was expressed that some drivers required this next line to function properly +precision highp float; + +in vec3 ex_Color; +out vec4 gl_FragColor; + +void main(void) { + // Pass through our original color with full opacity. + gl_FragColor = vec4(ex_Color,1.0); +} |