1 /**************************************************************************
\r
3 * Copyright 2010 Luca Barbieri
\r
5 * Permission is hereby granted, free of charge, to any person obtaining
\r
6 * a copy of this software and associated documentation files (the
\r
7 * "Software"), to deal in the Software without restriction, including
\r
8 * without limitation the rights to use, copy, modify, merge, publish,
\r
9 * distribute, sublicense, and/or sell copies of the Software, and to
\r
10 * permit persons to whom the Software is furnished to do so, subject to
\r
11 * the following conditions:
\r
13 * The above copyright notice and this permission notice (including the
\r
14 * next paragraph) shall be included in all copies or substantial
\r
15 * portions of the Software.
\r
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
18 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
\r
20 * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
\r
21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
\r
22 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
\r
23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\r
25 **************************************************************************/
\r
29 float4 position : POSITION;
\r
30 float4 color : COLOR;
\r
35 float4 position : SV_POSITION;
\r
36 float4 color : COLOR;
\r
39 VS2PS vs(IA2VS input)
\r
42 result.position = input.position;
\r
43 result.color = input.color;
\r
47 float4 ps(VS2PS input) : SV_TARGET
\r