Home | History | Annotate | Download | only in nv50
      1 #ifndef G80_DEFS_XML
      2 #define G80_DEFS_XML
      3 
      4 /* Autogenerated file, DO NOT EDIT manually!
      5 
      6 This file was generated by the rules-ng-ng headergen tool in this git repository:
      7 http://github.com/envytools/envytools/
      8 git clone https://github.com/envytools/envytools.git
      9 
     10 The rules-ng-ng source files this header was generated from are:
     11 - /home/skeggsb/git/envytools/rnndb/../rnndb/graph/g80_texture.xml (  18837 bytes, from 2016-01-14 23:54:22)
     12 - /home/skeggsb/git/envytools/rnndb/copyright.xml                  (   6456 bytes, from 2015-09-10 02:57:40)
     13 - /home/skeggsb/git/envytools/rnndb/nvchipsets.xml                 (   2908 bytes, from 2016-02-02 23:45:00)
     14 - /home/skeggsb/git/envytools/rnndb/g80_defs.xml                   (  21739 bytes, from 2016-02-04 00:29:42)
     15 - /home/skeggsb/git/envytools/rnndb/nv_defs.xml                    (   5388 bytes, from 2016-01-14 23:54:22)
     16 
     17 Copyright (C) 2006-2016 by the following authors:
     18 - Artur Huillet <arthur.huillet (at) free.fr> (ahuillet)
     19 - Ben Skeggs (darktama, darktama_)
     20 - B. R. <koala_br (at) users.sourceforge.net> (koala_br)
     21 - Carlos Martin <carlosmn (at) users.sf.net> (carlosmn)
     22 - Christoph Bumiller <e0425955 (at) student.tuwien.ac.at> (calim, chrisbmr)
     23 - Dawid Gajownik <gajownik (at) users.sf.net> (gajownik)
     24 - Dmitry Baryshkov
     25 - Dmitry Eremin-Solenikov <lumag (at) users.sf.net> (lumag)
     26 - EdB <edb_ (at) users.sf.net> (edb_)
     27 - Erik Waling <erikwailing (at) users.sf.net> (erikwaling)
     28 - Francisco Jerez <currojerez (at) riseup.net> (curro)
     29 - Ilia Mirkin <imirkin (at) alum.mit.edu> (imirkin)
     30 - jb17bsome <jb17bsome (at) bellsouth.net> (jb17bsome)
     31 - Jeremy Kolb <kjeremy (at) users.sf.net> (kjeremy)
     32 - Laurent Carlier <lordheavym (at) gmail.com> (lordheavy)
     33 - Luca Barbieri <luca (at) luca-barbieri.com> (lb, lb1)
     34 - Maarten Maathuis <madman2003 (at) gmail.com> (stillunknown)
     35 - Marcin Kocielnicki <koriakin (at) 0x04.net> (mwk, koriakin)
     36 - Mark Carey <mark.carey (at) gmail.com> (careym)
     37 - Matthieu Castet <matthieu.castet (at) parrot.com> (mat-c)
     38 - nvidiaman <nvidiaman (at) users.sf.net> (nvidiaman)
     39 - Patrice Mandin <patmandin (at) gmail.com> (pmandin, pmdata)
     40 - Pekka Paalanen <pq (at) iki.fi> (pq, ppaalanen)
     41 - Peter Popov <ironpeter (at) users.sf.net> (ironpeter)
     42 - Richard Hughes <hughsient (at) users.sf.net> (hughsient)
     43 - Rudi Cilibrasi <cilibrar (at) users.sf.net> (cilibrar)
     44 - Serge Martin
     45 - Simon Raffeiner
     46 - Stephane Loeuillet <leroutier (at) users.sf.net> (leroutier)
     47 - Stephane Marchesin <stephane.marchesin (at) gmail.com> (marcheu)
     48 - sturmflut <sturmflut (at) users.sf.net> (sturmflut)
     49 - Sylvain Munaut <tnt (at) 246tNt.com>
     50 - Victor Stinner <victor.stinner (at) haypocalc.com> (haypo)
     51 - Wladmir van der Laan <laanwj (at) gmail.com> (miathan6)
     52 - Younes Manton <younes.m (at) gmail.com> (ymanton)
     53 
     54 Permission is hereby granted, free of charge, to any person obtaining
     55 a copy of this software and associated documentation files (the
     56 "Software"), to deal in the Software without restriction, including
     57 without limitation the rights to use, copy, modify, merge, publish,
     58 distribute, sublicense, and/or sell copies of the Software, and to
     59 permit persons to whom the Software is furnished to do so, subject to
     60 the following conditions:
     61 
     62 The above copyright notice and this permission notice (including the
     63 next paragraph) shall be included in all copies or substantial
     64 portions of the Software.
     65 
     66 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     67 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     68 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     69 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
     70 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
     71 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
     72 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     73 */
     74 
     75 
     76 #define G80_VSTATUS_IDLE					0x00000000
     77 #define G80_VSTATUS_BUSY					0x00000001
     78 #define G80_VSTATUS_UNK2					0x00000002
     79 #define G80_VSTATUS_WAITING					0x00000003
     80 #define G80_VSTATUS_BLOCKED					0x00000005
     81 #define G80_VSTATUS_FAULTED					0x00000006
     82 #define G80_VSTATUS_PAUSED					0x00000007
     83 #define G80_TIC_SOURCE_ZERO					0x00000000
     84 #define G80_TIC_SOURCE_R					0x00000002
     85 #define G80_TIC_SOURCE_G					0x00000003
     86 #define G80_TIC_SOURCE_B					0x00000004
     87 #define G80_TIC_SOURCE_A					0x00000005
     88 #define G80_TIC_SOURCE_ONE_INT					0x00000006
     89 #define G80_TIC_SOURCE_ONE_FLOAT				0x00000007
     90 #define G80_TIC_TYPE_SNORM					0x00000001
     91 #define G80_TIC_TYPE_UNORM					0x00000002
     92 #define G80_TIC_TYPE_SINT					0x00000003
     93 #define G80_TIC_TYPE_UINT					0x00000004
     94 #define G80_TIC_TYPE_SNORM_FORCE_FP16				0x00000005
     95 #define G80_TIC_TYPE_UNORM_FORCE_FP16				0x00000006
     96 #define G80_TIC_TYPE_FLOAT					0x00000007
     97 #define G80_SURFACE_FORMAT_BITMAP				0x0000001c
     98 #define G80_SURFACE_FORMAT_UNK1D				0x0000001d
     99 #define G80_SURFACE_FORMAT_RGBA32_FLOAT				0x000000c0
    100 #define G80_SURFACE_FORMAT_RGBA32_SINT				0x000000c1
    101 #define G80_SURFACE_FORMAT_RGBA32_UINT				0x000000c2
    102 #define G80_SURFACE_FORMAT_RGBX32_FLOAT				0x000000c3
    103 #define G80_SURFACE_FORMAT_RGBX32_SINT				0x000000c4
    104 #define G80_SURFACE_FORMAT_RGBX32_UINT				0x000000c5
    105 #define G80_SURFACE_FORMAT_RGBA16_UNORM				0x000000c6
    106 #define G80_SURFACE_FORMAT_RGBA16_SNORM				0x000000c7
    107 #define G80_SURFACE_FORMAT_RGBA16_SINT				0x000000c8
    108 #define G80_SURFACE_FORMAT_RGBA16_UINT				0x000000c9
    109 #define G80_SURFACE_FORMAT_RGBA16_FLOAT				0x000000ca
    110 #define G80_SURFACE_FORMAT_RG32_FLOAT				0x000000cb
    111 #define G80_SURFACE_FORMAT_RG32_SINT				0x000000cc
    112 #define G80_SURFACE_FORMAT_RG32_UINT				0x000000cd
    113 #define G80_SURFACE_FORMAT_RGBX16_FLOAT				0x000000ce
    114 #define G80_SURFACE_FORMAT_BGRA8_UNORM				0x000000cf
    115 #define G80_SURFACE_FORMAT_BGRA8_SRGB				0x000000d0
    116 #define G80_SURFACE_FORMAT_RGB10_A2_UNORM			0x000000d1
    117 #define G80_SURFACE_FORMAT_RGB10_A2_UINT			0x000000d2
    118 #define G80_SURFACE_FORMAT_RGBA8_UNORM				0x000000d5
    119 #define G80_SURFACE_FORMAT_RGBA8_SRGB				0x000000d6
    120 #define G80_SURFACE_FORMAT_RGBA8_SNORM				0x000000d7
    121 #define G80_SURFACE_FORMAT_RGBA8_SINT				0x000000d8
    122 #define G80_SURFACE_FORMAT_RGBA8_UINT				0x000000d9
    123 #define G80_SURFACE_FORMAT_RG16_UNORM				0x000000da
    124 #define G80_SURFACE_FORMAT_RG16_SNORM				0x000000db
    125 #define G80_SURFACE_FORMAT_RG16_SINT				0x000000dc
    126 #define G80_SURFACE_FORMAT_RG16_UINT				0x000000dd
    127 #define G80_SURFACE_FORMAT_RG16_FLOAT				0x000000de
    128 #define G80_SURFACE_FORMAT_BGR10_A2_UNORM			0x000000df
    129 #define G80_SURFACE_FORMAT_R11G11B10_FLOAT			0x000000e0
    130 #define G80_SURFACE_FORMAT_R32_SINT				0x000000e3
    131 #define G80_SURFACE_FORMAT_R32_UINT				0x000000e4
    132 #define G80_SURFACE_FORMAT_R32_FLOAT				0x000000e5
    133 #define G80_SURFACE_FORMAT_BGRX8_UNORM				0x000000e6
    134 #define G80_SURFACE_FORMAT_BGRX8_SRGB				0x000000e7
    135 #define G80_SURFACE_FORMAT_B5G6R5_UNORM				0x000000e8
    136 #define G80_SURFACE_FORMAT_BGR5_A1_UNORM			0x000000e9
    137 #define G80_SURFACE_FORMAT_RG8_UNORM				0x000000ea
    138 #define G80_SURFACE_FORMAT_RG8_SNORM				0x000000eb
    139 #define G80_SURFACE_FORMAT_RG8_SINT				0x000000ec
    140 #define G80_SURFACE_FORMAT_RG8_UINT				0x000000ed
    141 #define G80_SURFACE_FORMAT_R16_UNORM				0x000000ee
    142 #define G80_SURFACE_FORMAT_R16_SNORM				0x000000ef
    143 #define G80_SURFACE_FORMAT_R16_SINT				0x000000f0
    144 #define G80_SURFACE_FORMAT_R16_UINT				0x000000f1
    145 #define G80_SURFACE_FORMAT_R16_FLOAT				0x000000f2
    146 #define G80_SURFACE_FORMAT_R8_UNORM				0x000000f3
    147 #define G80_SURFACE_FORMAT_R8_SNORM				0x000000f4
    148 #define G80_SURFACE_FORMAT_R8_SINT				0x000000f5
    149 #define G80_SURFACE_FORMAT_R8_UINT				0x000000f6
    150 #define G80_SURFACE_FORMAT_A8_UNORM				0x000000f7
    151 #define G80_SURFACE_FORMAT_BGR5_X1_UNORM			0x000000f8
    152 #define G80_SURFACE_FORMAT_RGBX8_UNORM				0x000000f9
    153 #define G80_SURFACE_FORMAT_RGBX8_SRGB				0x000000fa
    154 #define G80_SURFACE_FORMAT_BGR5_X1_UNORM_UNKFB			0x000000fb
    155 #define G80_SURFACE_FORMAT_BGR5_X1_UNORM_UNKFC			0x000000fc
    156 #define G80_SURFACE_FORMAT_BGRX8_UNORM_UNKFD			0x000000fd
    157 #define G80_SURFACE_FORMAT_BGRX8_UNORM_UNKFE			0x000000fe
    158 #define G80_SURFACE_FORMAT_Y32_UINT_UNKFF			0x000000ff
    159 #define G80_ZETA_FORMAT_Z32_FLOAT				0x0000000a
    160 #define G80_ZETA_FORMAT_Z16_UNORM				0x00000013
    161 #define G80_ZETA_FORMAT_S8_Z24_UNORM				0x00000014
    162 #define G80_ZETA_FORMAT_Z24_X8_UNORM				0x00000015
    163 #define G80_ZETA_FORMAT_Z24_S8_UNORM				0x00000016
    164 #define G80_ZETA_FORMAT_Z24_C8_UNORM				0x00000018
    165 #define G80_ZETA_FORMAT_Z32_S8_X24_FLOAT			0x00000019
    166 #define G80_ZETA_FORMAT_Z24_X8_S8_C8_X16_UNORM			0x0000001d
    167 #define G80_ZETA_FORMAT_Z32_X8_C8_X16_FLOAT			0x0000001e
    168 #define G80_ZETA_FORMAT_Z32_S8_C8_X16_FLOAT			0x0000001f
    169 #define GK104_IMAGE_FORMAT_RGBA32_FLOAT				0x00000002
    170 #define GK104_IMAGE_FORMAT_RGBA32_SINT				0x00000003
    171 #define GK104_IMAGE_FORMAT_RGBA32_UINT				0x00000004
    172 #define GK104_IMAGE_FORMAT_RGBA16_UNORM				0x00000008
    173 #define GK104_IMAGE_FORMAT_RGBA16_SNORM				0x00000009
    174 #define GK104_IMAGE_FORMAT_RGBA16_SINT				0x0000000a
    175 #define GK104_IMAGE_FORMAT_RGBA16_UINT				0x0000000b
    176 #define GK104_IMAGE_FORMAT_RGBA16_FLOAT				0x0000000c
    177 #define GK104_IMAGE_FORMAT_RG32_FLOAT				0x0000000d
    178 #define GK104_IMAGE_FORMAT_RG32_SINT				0x0000000e
    179 #define GK104_IMAGE_FORMAT_RG32_UINT				0x0000000f
    180 #define GK104_IMAGE_FORMAT_BGRA8_UNORM				0x00000011
    181 #define GK104_IMAGE_FORMAT_RGB10_A2_UNORM			0x00000013
    182 #define GK104_IMAGE_FORMAT_RGB10_A2_UINT			0x00000015
    183 #define GK104_IMAGE_FORMAT_RGBA8_UNORM				0x00000018
    184 #define GK104_IMAGE_FORMAT_RGBA8_SNORM				0x0000001a
    185 #define GK104_IMAGE_FORMAT_RGBA8_SINT				0x0000001b
    186 #define GK104_IMAGE_FORMAT_RGBA8_UINT				0x0000001c
    187 #define GK104_IMAGE_FORMAT_RG16_UNORM				0x0000001d
    188 #define GK104_IMAGE_FORMAT_RG16_SNORM				0x0000001e
    189 #define GK104_IMAGE_FORMAT_RG16_SINT				0x0000001f
    190 #define GK104_IMAGE_FORMAT_RG16_UINT				0x00000020
    191 #define GK104_IMAGE_FORMAT_RG16_FLOAT				0x00000021
    192 #define GK104_IMAGE_FORMAT_R11G11B10_FLOAT			0x00000024
    193 #define GK104_IMAGE_FORMAT_R32_SINT				0x00000027
    194 #define GK104_IMAGE_FORMAT_R32_UINT				0x00000028
    195 #define GK104_IMAGE_FORMAT_R32_FLOAT				0x00000029
    196 #define GK104_IMAGE_FORMAT_RG8_UNORM				0x0000002e
    197 #define GK104_IMAGE_FORMAT_RG8_SNORM				0x0000002f
    198 #define GK104_IMAGE_FORMAT_RG8_SINT				0x00000030
    199 #define GK104_IMAGE_FORMAT_RG8_UINT				0x00000031
    200 #define GK104_IMAGE_FORMAT_R16_UNORM				0x00000032
    201 #define GK104_IMAGE_FORMAT_R16_SNORM				0x00000033
    202 #define GK104_IMAGE_FORMAT_R16_SINT				0x00000034
    203 #define GK104_IMAGE_FORMAT_R16_UINT				0x00000035
    204 #define GK104_IMAGE_FORMAT_R16_FLOAT				0x00000036
    205 #define GK104_IMAGE_FORMAT_R8_UNORM				0x00000037
    206 #define GK104_IMAGE_FORMAT_R8_SNORM				0x00000038
    207 #define GK104_IMAGE_FORMAT_R8_SINT				0x00000039
    208 #define GK104_IMAGE_FORMAT_R8_UINT				0x0000003a
    209 #define G80_PGRAPH_DATA_ERROR_INVALID_OPERATION			0x00000003
    210 #define G80_PGRAPH_DATA_ERROR_INVALID_VALUE			0x00000004
    211 #define G80_PGRAPH_DATA_ERROR_INVALID_ENUM			0x00000005
    212 #define G80_PGRAPH_DATA_ERROR_INVALID_OBJECT			0x00000008
    213 #define G80_PGRAPH_DATA_ERROR_READ_ONLY_OBJECT			0x00000009
    214 #define G80_PGRAPH_DATA_ERROR_SUPERVISOR_OBJECT			0x0000000a
    215 #define G80_PGRAPH_DATA_ERROR_INVALID_ADDRESS_ALIGNMENT		0x0000000b
    216 #define G80_PGRAPH_DATA_ERROR_INVALID_BITFIELD			0x0000000c
    217 #define G80_PGRAPH_DATA_ERROR_BEGIN_END_ACTIVE			0x0000000d
    218 #define G80_PGRAPH_DATA_ERROR_SEMANTIC_COLOR_BACK_OVER_LIMIT	0x0000000e
    219 #define G80_PGRAPH_DATA_ERROR_VIEWPORT_ID_NEEDS_GP		0x0000000f
    220 #define G80_PGRAPH_DATA_ERROR_RT_DOUBLE_BIND			0x00000010
    221 #define G80_PGRAPH_DATA_ERROR_RT_TYPES_MISMATCH			0x00000011
    222 #define G80_PGRAPH_DATA_ERROR_RT_PITCH_WITH_ZETA		0x00000012
    223 #define G80_PGRAPH_DATA_ERROR_FP_TOO_FEW_REGS			0x00000015
    224 #define G80_PGRAPH_DATA_ERROR_ZETA_FORMAT_CSAA_MISMATCH		0x00000016
    225 #define G80_PGRAPH_DATA_ERROR_RT_PITCH_WITH_MSAA		0x00000017
    226 #define G80_PGRAPH_DATA_ERROR_FP_INTERPOLANT_START_OVER_LIMIT	0x00000018
    227 #define G80_PGRAPH_DATA_ERROR_SEMANTIC_LAYER_OVER_LIMIT		0x00000019
    228 #define G80_PGRAPH_DATA_ERROR_RT_INVALID_ALIGNMENT		0x0000001a
    229 #define G80_PGRAPH_DATA_ERROR_SAMPLER_OVER_LIMIT		0x0000001b
    230 #define G80_PGRAPH_DATA_ERROR_TEXTURE_OVER_LIMIT		0x0000001c
    231 #define G80_PGRAPH_DATA_ERROR_GP_TOO_MANY_OUTPUTS		0x0000001e
    232 #define G80_PGRAPH_DATA_ERROR_RT_BPP128_WITH_MS8		0x0000001f
    233 #define G80_PGRAPH_DATA_ERROR_Z_OUT_OF_BOUNDS			0x00000021
    234 #define G80_PGRAPH_DATA_ERROR_XY_OUT_OF_BOUNDS			0x00000023
    235 #define G80_PGRAPH_DATA_ERROR_VP_ZERO_INPUTS			0x00000024
    236 #define G80_PGRAPH_DATA_ERROR_CP_MORE_PARAMS_THAN_SHARED	0x00000027
    237 #define G80_PGRAPH_DATA_ERROR_CP_NO_REG_SPACE_STRIPED		0x00000028
    238 #define G80_PGRAPH_DATA_ERROR_CP_NO_REG_SPACE_PACKED		0x00000029
    239 #define G80_PGRAPH_DATA_ERROR_CP_NOT_ENOUGH_WARPS		0x0000002a
    240 #define G80_PGRAPH_DATA_ERROR_CP_BLOCK_SIZE_MISMATCH		0x0000002b
    241 #define G80_PGRAPH_DATA_ERROR_CP_NOT_ENOUGH_LOCAL_WARPS		0x0000002c
    242 #define G80_PGRAPH_DATA_ERROR_CP_NOT_ENOUGH_STACK_WARPS		0x0000002d
    243 #define G80_PGRAPH_DATA_ERROR_CP_NO_BLOCKDIM_LATCH		0x0000002e
    244 #define G80_PGRAPH_DATA_ERROR_ENG2D_FORMAT_MISMATCH		0x00000031
    245 #define G80_PGRAPH_DATA_ERROR_ENG2D_OPERATION_ILLEGAL_FOR_DST_FORMAT	0x00000033
    246 #define G80_PGRAPH_DATA_ERROR_ENG2D_FORMAT_MISMATCH_B		0x00000034
    247 #define G80_PGRAPH_DATA_ERROR_PRIMITIVE_ID_NEEDS_GP		0x0000003f
    248 #define G80_PGRAPH_DATA_ERROR_SEMANTIC_VIEWPORT_OVER_LIMIT	0x00000044
    249 #define G80_PGRAPH_DATA_ERROR_SEMANTIC_COLOR_FRONT_OVER_LIMIT	0x00000045
    250 #define G80_PGRAPH_DATA_ERROR_LAYER_ID_NEEDS_GP			0x00000046
    251 #define G80_PGRAPH_DATA_ERROR_SEMANTIC_CLIP_OVER_LIMIT		0x00000047
    252 #define G80_PGRAPH_DATA_ERROR_SEMANTIC_PTSZ_OVER_LIMIT		0x00000048
    253 #define G80_PGRAPH_DATA_ERROR_M2MF_LINE_LENGTH_EXCEEDS_PITCH_IN	0x00000051
    254 #define G80_PGRAPH_DATA_ERROR_M2MF_LINE_LENGTH_EXCEEDS_PITCH_OUT	0x00000053
    255 #define G80_PGRAPH_DATA_ERROR_RT_PITCH_WITH_ZETA_GF100		0x00000098
    256 #define G80_PGRAPH_DATA_ERROR_ENG2D_UNALIGNED_PITCH_GF100	0x000000a5
    257 #define G80_CG_IDLE_TIMEOUT__MASK				0x0000003f
    258 #define G80_CG_IDLE_TIMEOUT__SHIFT				0
    259 #define G80_CG_IDLE_TIMEOUT_ENABLE				0x00000040
    260 #define G80_CG_INTERFACE_REENABLE_TIME__MASK			0x000f0000
    261 #define G80_CG_INTERFACE_REENABLE_TIME__SHIFT			16
    262 #define G80_CG_THROTTLE_DUTY_M1__MASK				0x00f00000
    263 #define G80_CG_THROTTLE_DUTY_M1__SHIFT				20
    264 #define G80_CG_DELAY__MASK					0x0f000000
    265 #define G80_CG_DELAY__SHIFT					24
    266 #define G80_CG_CLOCK_THROTTLE_ENABLE				0x10000000
    267 #define G80_CG_THROTTLE_MODE__MASK				0x20000000
    268 #define G80_CG_THROTTLE_MODE__SHIFT				29
    269 #define G80_CG_THROTTLE_MODE_AUTO				0x00000000
    270 #define G80_CG_THROTTLE_MODE_MANUAL				0x20000000
    271 #define G80_CG_INTERFACE_THROTTLE_ENABLE			0x40000000
    272 #define G80_QUERY__SIZE						0x00000010
    273 #define G80_QUERY_COUNTER					0x00000000
    274 
    275 #define G80_QUERY_RES						0x00000004
    276 
    277 #define G80_QUERY_TIME						0x00000008
    278 
    279 
    280 #endif /* G80_DEFS_XML */
    281