Tizen 2.0 Release
[profile/ivi/osmesa.git] / src / mesa / drivers / dri / r600 / evergreen_blit_shaders.h
1 /*
2  * Copyright (C) 2010 Advanced Micro Devices, Inc.
3  *
4  * All Rights Reserved.
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining
7  * a copy of this software and associated documentation files (the
8  * "Software"), to deal in the Software without restriction, including
9  * without limitation the rights to use, copy, modify, merge, publish,
10  * distribute, sublicense, and/or sell copies of the Software, and to
11  * permit persons to whom the Software is furnished to do so, subject to
12  * the following conditions:
13  *
14  * The above copyright notice and this permission notice (including the
15  * next paragraph) shall be included in all copies or substantial
16  * portions of the Software.
17  *
18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21  * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
22  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25  *
26  */
27
28 const uint32_t evergreen_vs[] =
29 {
30         0x00000004,
31         0x80800400,
32         0x0000a03c,
33         0x95000688,
34         0x00004000,
35         0x15200688,
36         0x00000000,
37         0x00000000,
38         0x3c000000,
39         0x67961001,
40 #ifdef MESA_BIG_ENDIAN
41         0x000a0000,
42 #else
43         0x00080000,
44 #endif
45         0x00000000,
46         0x1c000000,
47         0x67961000,
48 #ifdef MESA_BIG_ENDIAN
49         0x00020008,
50 #else
51         0x00000008,
52 #endif
53         0x00000000,
54 };
55
56 const uint32_t evergreen_ps[] =
57 {
58         0x00000003,
59         0xa00c0000,
60         0x00000008,
61         0x80400000,
62         0x00000000,
63         0x95200688,
64         0x00380400,
65         0x00146b10,
66         0x00380000,
67         0x20146b10,
68         0x00380400,
69         0x40146b00,
70         0x80380000,
71         0x60146b00,
72         0x00000000,
73         0x00000000,
74         0x00000010,
75         0x000d1000,
76         0xb0800000,
77         0x00000000,
78 };
79