Merge remote branch 'origin/nv50-compiler'
[mesa.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 0x00080000,
41 0x00000000,
42 0x1c000000,
43 0x67961000,
44 0x00000008,
45 0x00000000,
46 };
47
48 const uint32_t evergreen_ps[] =
49 {
50 0x00000003,
51 0xa00c0000,
52 0x00000008,
53 0x80400000,
54 0x00000000,
55 0x95200688,
56 0x00380400,
57 0x00146b10,
58 0x00380000,
59 0x20146b10,
60 0x00380400,
61 0x40146b00,
62 0x80380000,
63 0x60146b00,
64 0x00000000,
65 0x00000000,
66 0x00000010,
67 0x000d1000,
68 0xb0800000,
69 0x00000000,
70 };
71