summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-24 12:08:46 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-24 12:08:46 -0700
commit7d9bce35517f1a512943cf5e1165ff9e0db44e5f (patch)
tree1b05eaa9bc208cd13b9aa2cd2a42279ceabb1c9b /tests
parent882dad75408fc4071a9dd700309f9e54f6ad2650 (diff)
Add (negative) test for constructing samplers
Diffstat (limited to 'tests')
-rw-r--r--tests/constructor-02.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/constructor-02.glsl b/tests/constructor-02.glsl
new file mode 100644
index 0000000000..47acbe9db1
--- /dev/null
+++ b/tests/constructor-02.glsl
@@ -0,0 +1,7 @@
+/* FAIL - cannot construct samplers */
+void main()
+{
+ int i;
+
+ i = sampler2D(0);
+}