From 7d9bce35517f1a512943cf5e1165ff9e0db44e5f Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 24 Mar 2010 12:08:46 -0700 Subject: [PATCH] Add (negative) test for constructing samplers --- tests/constructor-02.glsl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/constructor-02.glsl diff --git a/tests/constructor-02.glsl b/tests/constructor-02.glsl new file mode 100644 index 00000000000..47acbe9db14 --- /dev/null +++ b/tests/constructor-02.glsl @@ -0,0 +1,7 @@ +/* FAIL - cannot construct samplers */ +void main() +{ + int i; + + i = sampler2D(0); +} -- 2.30.2