summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2/tex_rect-08.frag
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-08-13 18:48:50 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-08-13 18:52:18 -0700
commitbc92cd11d327970ac1068fc9334c113dd8153904 (patch)
tree79e7294cfdfcad47353709027d804b83011ae8d9 /tests/glslparsertest/glsl2/tex_rect-08.frag
parent7dc017186fed48c35369a90a32ef12deebb526ca (diff)
glslparsertest: Test the existence of every texture rectangle sampler function
Diffstat (limited to 'tests/glslparsertest/glsl2/tex_rect-08.frag')
-rw-r--r--tests/glslparsertest/glsl2/tex_rect-08.frag8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/glslparsertest/glsl2/tex_rect-08.frag b/tests/glslparsertest/glsl2/tex_rect-08.frag
new file mode 100644
index 000000000..83f9bcbc8
--- /dev/null
+++ b/tests/glslparsertest/glsl2/tex_rect-08.frag
@@ -0,0 +1,8 @@
+/* PASS */
+uniform sampler2DRectShadow s;
+varying vec4 coord;
+
+void main()
+{
+ gl_FragColor = shadow2DRectProj(s, coord);
+}