Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git] / Test / sample.frag
1 //\r
2 //Copyright (C) 2002-2004  3Dlabs Inc. Ltd.\r
3 //All rights reserved.\r
4 //\r
5 //Redistribution and use in source and binary forms, with or without\r
6 //modification, are permitted provided that the following conditions\r
7 //are met:\r
8 //\r
9 //    Redistributions of source code must retain the above copyright\r
10 //    notice, this list of conditions and the following disclaimer.\r
11 //\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
16 //\r
17 //    Neither the name of 3Dlabs Inc. Ltd. 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
20 //\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
33 //\r
34 #version 110\r
35 \r
36 varying vec3 color;\r
37 \r
38 void main()\r
39 {\r
40     gl_FragColor = vec4(color, 1.0);\r
41 }\r