nv50_texture.xml.h revision f80c03e1875fe96ff2f4c022e3cb76357828140d
1f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#ifndef NV50_TEXTURE_XML
2f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TEXTURE_XML
3f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
4f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller/* Autogenerated file, DO NOT EDIT manually!
5f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
6f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerThis file was generated by the rules-ng-ng headergen tool in this git repository:
7f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillerhttp://0x04.net/cgit/index.cgi/rules-ng-ng
8f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillergit clone git://0x04.net/rules-ng-ng
9f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
10f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerThe rules-ng-ng source files this header was generated from are:
11f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- nv50_texture.xml (   6871 bytes, from 2010-10-03 13:18:37)
12f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- copyright.xml    (   6498 bytes, from 2010-10-03 13:18:37)
13f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
14f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerCopyright (C) 2006-2010 by the following authors:
15f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Artur Huillet <arthur.huillet@free.fr> (ahuillet)
16f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Ben Skeggs (darktama, darktama_)
17f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- B. R. <koala_br@users.sourceforge.net> (koala_br)
18f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Carlos Martin <carlosmn@users.sf.net> (carlosmn)
19f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
20f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Dawid Gajownik <gajownik@users.sf.net> (gajownik)
21f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Dmitry Baryshkov
22f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
23f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- EdB <edb_@users.sf.net> (edb_)
24f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Erik Waling <erikwailing@users.sf.net> (erikwaling)
25f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Francisco Jerez <currojerez@riseup.net> (curro, curro_, currojerez)
26f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- imirkin <imirkin@users.sf.net> (imirkin)
27f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
28f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
29f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Laurent Carlier <lordheavym@gmail.com> (lordheavy)
30f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
31f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Maarten Maathuis <madman2003@gmail.com> (stillunknown)
32f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin)
33f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Mark Carey <mark.carey@gmail.com> (careym)
34f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
35f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
36f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
37f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
38f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Peter Popov <ironpeter@users.sf.net> (ironpeter)
39f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Richard Hughes <hughsient@users.sf.net> (hughsient)
40f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
41f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Serge Martin
42f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Simon Raffeiner
43f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
44f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
45f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- sturmflut <sturmflut@users.sf.net> (sturmflut)
46f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Sylvain Munaut <tnt@246tNt.com>
47f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Victor Stinner <victor.stinner@haypocalc.com> (haypo)
48f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Wladmir van der Laan <laanwj@gmail.com> (miathan6)
49f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller- Younes Manton <younes.m@gmail.com> (ymanton)
50f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
51f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerPermission is hereby granted, free of charge, to any person obtaining
52f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillera copy of this software and associated documentation files (the
53f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller"Software"), to deal in the Software without restriction, including
54f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillerwithout limitation the rights to use, copy, modify, merge, publish,
55f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillerdistribute, sublicense, and/or sell copies of the Software, and to
56f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillerpermit persons to whom the Software is furnished to do so, subject to
57f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillerthe following conditions:
58f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
59f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerThe above copyright notice and this permission notice (including the
60f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillernext paragraph) shall be included in all copies or substantial
61f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumillerportions of the Software.
62f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
63f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
64f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
65f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
66f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerIN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
67f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
68f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
69f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph BumillerWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
70f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller*/
71f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
72f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
73f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_MAP_ZERO					0x00000000
74f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_MAP_C0						0x00000002
75f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_MAP_C1						0x00000003
76f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_MAP_C2						0x00000004
77f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_MAP_C3						0x00000005
78f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_MAP_ONE					0x00000007
79f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_TYPE_SNORM					0x00000001
80f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_TYPE_UNORM					0x00000002
81f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_TYPE_SINT					0x00000003
82f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_TYPE_UINT					0x00000004
83f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_TYPE_SSCALED					0x00000005
84f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_TYPE_USCALED					0x00000006
85f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_TYPE_FLOAT					0x00000007
86f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_REPEAT					0x00000000
87f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_MIRROR_REPEAT				0x00000001
88f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_CLAMP_TO_EDGE				0x00000002
89f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_CLAMP_TO_BORDER				0x00000003
90f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_CLAMP					0x00000004
91f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_MIRROR_CLAMP_TO_EDGE			0x00000005
92f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_MIRROR_CLAMP_TO_BORDER			0x00000006
93f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_WRAP_MIRROR_CLAMP				0x00000007
94f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC__SIZE						0x00000020
95f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0						0x00000000
96f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPA__MASK					0x38000000
97f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPA__SHIFT					27
98f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPB__MASK					0x07000000
99f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPB__SHIFT					24
100f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPG__MASK					0x00e00000
101f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPG__SHIFT					21
102f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPR__MASK					0x001c0000
103f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_MAPR__SHIFT					18
104f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE3__MASK					0x00038000
105f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE3__SHIFT					15
106f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE2__MASK					0x00007000
107f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE2__SHIFT					12
108f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE1__MASK					0x00000e00
109f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE1__SHIFT					9
110f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE0__MASK					0x000001c0
111f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_TYPE0__SHIFT					6
112f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_SWIZZLE__MASK				0x3ffc0000
113f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT__MASK					0x0000003f
114f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT__SHIFT					0
115f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_32_32_32_32				0x00000001
116f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_16_16_16_16				0x00000003
117f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_32_32					0x00000004
118f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_32_8					0x00000005
119f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_8_8_8_8					0x00000008
120f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_2_10_10_10				0x00000009
121f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_16_16					0x0000000c
122f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_8_24					0x0000000d
123f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_24_8					0x0000000e
124f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_32					0x0000000f
125f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_4_4_4_4					0x00000012
126f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_5_5_5_1					0x00000013
127f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_1_5_5_5					0x00000014
128f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_5_6_5					0x00000015
129f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_6_5_5					0x00000016
130f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_8_8					0x00000018
131f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_16					0x0000001b
132f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_8					0x0000001d
133f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_4_4					0x0000001e
134f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_UNK1F					0x0000001f
135f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_E5_9_9_9					0x00000020
136f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_10_11_11					0x00000021
137f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_C1_C2_C1_C0				0x00000022
138f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_C2_C1_C0_C1				0x00000023
139f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_DXT1					0x00000024
140f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_DXT3					0x00000025
141f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_DXT5					0x00000026
142f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_RGTC1					0x00000027
143f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_RGTC2					0x00000028
144f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_24_8_ZETA				0x00000029
145f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_8_24_ZETA				0x0000002a
146f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_UNK2C_ZETA				0x0000002c
147f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_UNK2D_ZETA				0x0000002d
148f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_UNK2E_ZETA				0x0000002e
149f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_32_ZETA					0x0000002f
150f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_32_8_ZETA				0x00000030
151f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_0_FMT_16_ZETA				0x0000003a
152f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
153f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_1						0x00000004
154f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_1_OFFSET_LOW__MASK				0xffffffff
155f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_1_OFFSET_LOW__SHIFT				0
156f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
157f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2						0x00000008
158f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_OFFSET_HIGH__MASK				0x000000ff
159f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_OFFSET_HIGH__SHIFT				0
160f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_COLORSPACE_SRGB				0x00000400
161f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET__MASK					0x0003c000
162f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET__SHIFT				14
163f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_1D					0x00000000
164f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_2D					0x00004000
165f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_3D					0x00008000
166f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_CUBE					0x0000c000
167f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_1D_ARRAY				0x00010000
168f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_2D_ARRAY				0x00014000
169f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_BUFFER				0x00018000
170f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_RECT					0x0001c000
171f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TARGET_CUBE_ARRAY				0x00020000
172f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TILE_MODE_LINEAR				0x00040000
173f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TILE_MODE_Y__MASK				0x01c00000
174f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TILE_MODE_Y__SHIFT				22
175f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TILE_MODE_Z__MASK				0x0e000000
176f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_TILE_MODE_Z__SHIFT				25
177f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_2D_UNK0258__MASK				0x30000000
178f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_2D_UNK0258__SHIFT				28
179f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_2_NORMALIZED_COORDS				0x80000000
180f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
181f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_3						0x0000000c
182f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_3_PITCH__MASK					0xffffffff
183f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_3_PITCH__SHIFT					0
184f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
185f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_4						0x00000010
186f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_4_WIDTH__MASK					0xffffffff
187f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_4_WIDTH__SHIFT					0
188f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
189f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_5						0x00000014
190f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_5_LAST_LEVEL__MASK				0xf0000000
191f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_5_LAST_LEVEL__SHIFT				28
192f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_5_DEPTH__MASK					0x0fff0000
193f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_5_DEPTH__SHIFT					16
194f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_5_HEIGHT__MASK					0x0000ffff
195f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_5_HEIGHT__SHIFT				0
196f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
197f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_7						0x0000001c
198f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_7_BASE_LEVEL__MASK				0x0000000f
199f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_7_BASE_LEVEL__SHIFT				0
200f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_7_MAX_LEVEL__MASK				0x000000f0
201f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TIC_7_MAX_LEVEL__SHIFT				4
202f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
203f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC__SIZE						0x00000020
204f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0						0x00000000
205f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_WRAPS__MASK					0x00000007
206f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_WRAPS__SHIFT					0
207f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_WRAPT__MASK					0x00000038
208f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_WRAPT__SHIFT					3
209f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_WRAPR__MASK					0x000001c0
210f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_WRAPR__SHIFT					6
211f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_SHADOW_COMPARE_ENABLE			0x00000200
212f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_SHADOW_COMPARE_FUNC__MASK			0x00001c00
213f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_SHADOW_COMPARE_FUNC__SHIFT			10
214f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_ANISOTROPY_MASK__MASK			0x00700000
215f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_0_ANISOTROPY_MASK__SHIFT			20
216f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
217f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1						0x00000004
218f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_UNKN_ANISO_15				0x10000000
219f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_UNKN_ANISO_35				0x18000000
220f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MAGF__MASK					0x00000003
221f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MAGF__SHIFT					0
222f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MAGF_NEAREST					0x00000001
223f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MAGF_LINEAR					0x00000002
224f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MINF__MASK					0x00000030
225f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MINF__SHIFT					4
226f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MINF_NEAREST					0x00000010
227f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MINF_LINEAR					0x00000020
228f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MIPF__MASK					0x000000c0
229f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MIPF__SHIFT					6
230f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MIPF_NONE					0x00000040
231f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MIPF_NEAREST					0x00000080
232f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_MIPF_LINEAR					0x000000c0
233f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_LOD_BIAS__MASK				0x01fff000
234f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_1_LOD_BIAS__SHIFT				12
235f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
236f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_2						0x00000008
237f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_2_MIN_LOD__MASK				0x00000f00
238f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_2_MIN_LOD__SHIFT				8
239f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_2_MAX_LOD__MASK				0x00f00000
240f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_2_MAX_LOD__SHIFT				20
241f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
242f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_4						0x00000010
243f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_4_BORDER_COLOR_RED__MASK			0xffffffff
244f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_4_BORDER_COLOR_RED__SHIFT			0
245f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
246f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_5						0x00000014
247f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_5_BORDER_COLOR_GREEN__MASK			0xffffffff
248f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_5_BORDER_COLOR_GREEN__SHIFT			0
249f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
250f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_6						0x00000018
251f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_6_BORDER_COLOR_BLUE__MASK			0xffffffff
252f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_6_BORDER_COLOR_BLUE__SHIFT			0
253f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
254f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_7						0x0000001c
255f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_7_BORDER_COLOR_ALPHA__MASK			0xffffffff
256f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#define NV50_TSC_7_BORDER_COLOR_ALPHA__SHIFT			0
257f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
258f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller
259f80c03e1875fe96ff2f4c022e3cb76357828140dChristoph Bumiller#endif /* NV50_TEXTURE_XML */
260