From: Ian Romanick Date: Wed, 24 Mar 2010 19:08:46 +0000 (-0700) Subject: Add (negative) test for constructing samplers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d9bce35517f1a512943cf5e1165ff9e0db44e5f;p=mesa.git Add (negative) test for constructing samplers --- 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); +}