aboutsummaryrefslogtreecommitdiff
path: root/Test/150.frag
diff options
context:
space:
mode:
authorJohn Kessenich <cepheus@frii.com>2013-11-05 18:07:25 +0000
committerJohn Kessenich <cepheus@frii.com>2013-11-05 18:07:25 +0000
commit8ec55cdcd2815a0d91e2d2c69e56b3300323f1b9 (patch)
tree273679ea3e629b85b97f54ae09e6e3c728f82222 /Test/150.frag
parentc36e1d8e5159c4c71fd4b85e4478ef2c7e855aa7 (diff)
downloadglslang-8ec55cdcd2815a0d91e2d2c69e56b3300323f1b9.tar.gz
Clean up/resolve a bunch of TODO, which included implementing pixel_center_integer and origin_upper_left and adjusting what versions see legacy texturing names.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23874 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Diffstat (limited to 'Test/150.frag')
-rw-r--r--Test/150.frag14
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/150.frag b/Test/150.frag
new file mode 100644
index 00000000..fb15a00f
--- /dev/null
+++ b/Test/150.frag
@@ -0,0 +1,14 @@
+#version 150 core
+
+in vec4 gl_FragCoord;
+layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord; // ERROR
+layout(pixel_center_integer) in vec4 gl_FragCoord; // ERROR
+layout(origin_upper_left) in vec4 foo; // ERROR
+layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord;
+
+void main()
+{
+ vec4 c = gl_FragCoord;
+}
+
+layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord;