2 //Copyright (C) 2012 LunarG, Inc.
\r
3 //All rights reserved.
\r
5 //Redistribution and use in source and binary forms, with or without
\r
6 //modification, are permitted provided that the following conditions
\r
9 // Redistributions of source code must retain the above copyright
\r
10 // notice, this list of conditions and the following disclaimer.
\r
12 // Redistributions in binary form must reproduce the above
\r
13 // copyright notice, this list of conditions and the following
\r
14 // disclaimer in the documentation and/or other materials provided
\r
15 // with the distribution.
\r
17 // Neither the name of LunarG Inc. nor the names of its
\r
18 // contributors may be used to endorse or promote products derived
\r
19 // from this software without specific prior written permission.
\r
21 //THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
\r
22 //"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
\r
23 //LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
\r
24 //FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
\r
25 //COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
\r
26 //INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
\r
27 //BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
\r
28 //LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
\r
29 //CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
\r
30 //LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
\r
31 //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
\r
32 //POSSIBILITY OF SUCH DAMAGE.
\r
34 #version 420 compatibility
\r
36 attribute vec3 color;
\r
38 uniform sampler2DRect foo;
\r
42 gl_Position = vec4(color, 142.0f);
\r