"Fossies" - the Fresh Open Source Software Archive

Member "mesa-20.1.8/src/gallium/drivers/nouveau/nvc0/gm107_texture.xml.h" (16 Sep 2020, 19756 Bytes) of package /linux/misc/mesa-20.1.8.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #ifndef GM107_TEXTURE_XML
    2 #define GM107_TEXTURE_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/gm107_texture.xml (  22057 bytes, from 2016-02-12 03:01:43)
   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-04 22:19:11)
   14 - /home/skeggsb/git/envytools/rnndb/g80_defs.xml                     (  21739 bytes, from 2016-02-04 00:29:42)
   15 
   16 Copyright (C) 2006-2016 by the following authors:
   17 - Artur Huillet <arthur.huillet@free.fr> (ahuillet)
   18 - Ben Skeggs (darktama, darktama_)
   19 - B. R. <koala_br@users.sourceforge.net> (koala_br)
   20 - Carlos Martin <carlosmn@users.sf.net> (carlosmn)
   21 - Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
   22 - Dawid Gajownik <gajownik@users.sf.net> (gajownik)
   23 - Dmitry Baryshkov
   24 - Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
   25 - EdB <edb_@users.sf.net> (edb_)
   26 - Erik Waling <erikwailing@users.sf.net> (erikwaling)
   27 - Francisco Jerez <currojerez@riseup.net> (curro)
   28 - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
   29 - jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
   30 - Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
   31 - Laurent Carlier <lordheavym@gmail.com> (lordheavy)
   32 - Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
   33 - Maarten Maathuis <madman2003@gmail.com> (stillunknown)
   34 - Marcin Koƛcielnicki <koriakin@0x04.net> (mwk, koriakin)
   35 - Mark Carey <mark.carey@gmail.com> (careym)
   36 - Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
   37 - nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
   38 - Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
   39 - Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
   40 - Peter Popov <ironpeter@users.sf.net> (ironpeter)
   41 - Richard Hughes <hughsient@users.sf.net> (hughsient)
   42 - Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
   43 - Serge Martin
   44 - Simon Raffeiner
   45 - Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
   46 - Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
   47 - sturmflut <sturmflut@users.sf.net> (sturmflut)
   48 - Sylvain Munaut <tnt@246tNt.com>
   49 - Victor Stinner <victor.stinner@haypocalc.com> (haypo)
   50 - Wladmir van der Laan <laanwj@gmail.com> (miathan6)
   51 - Younes Manton <younes.m@gmail.com> (ymanton)
   52 
   53 Permission is hereby granted, free of charge, to any person obtaining
   54 a copy of this software and associated documentation files (the
   55 "Software"), to deal in the Software without restriction, including
   56 without limitation the rights to use, copy, modify, merge, publish,
   57 distribute, sublicense, and/or sell copies of the Software, and to
   58 permit persons to whom the Software is furnished to do so, subject to
   59 the following conditions:
   60 
   61 The above copyright notice and this permission notice (including the
   62 next paragraph) shall be included in all copies or substantial
   63 portions of the Software.
   64 
   65 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   66 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   67 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
   68 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
   69 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
   70 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
   71 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   72 */
   73 
   74 
   75 #define GM107_TIC2__SIZE                    0x00000020
   76 #define GM107_TIC2_0                        0x00000000
   77 #define GM107_TIC2_0_COMPONENTS_SIZES__MASK         0x0000007f
   78 #define GM107_TIC2_0_COMPONENTS_SIZES__SHIFT            0
   79 #define GM107_TIC2_0_COMPONENTS_SIZES_R32_G32_B32_A32       0x00000001
   80 #define GM107_TIC2_0_COMPONENTS_SIZES_R32_G32_B32       0x00000002
   81 #define GM107_TIC2_0_COMPONENTS_SIZES_R16_G16_B16_A16       0x00000003
   82 #define GM107_TIC2_0_COMPONENTS_SIZES_R32_G32           0x00000004
   83 #define GM107_TIC2_0_COMPONENTS_SIZES_R32_B24G8         0x00000005
   84 #define GM107_TIC2_0_COMPONENTS_SIZES_X8B8G8R8          0x00000007
   85 #define GM107_TIC2_0_COMPONENTS_SIZES_A8B8G8R8          0x00000008
   86 #define GM107_TIC2_0_COMPONENTS_SIZES_A2B10G10R10       0x00000009
   87 #define GM107_TIC2_0_COMPONENTS_SIZES_R16_G16           0x0000000c
   88 #define GM107_TIC2_0_COMPONENTS_SIZES_G8R24         0x0000000d
   89 #define GM107_TIC2_0_COMPONENTS_SIZES_G24R8         0x0000000e
   90 #define GM107_TIC2_0_COMPONENTS_SIZES_R32           0x0000000f
   91 #define GM107_TIC2_0_COMPONENTS_SIZES_A4B4G4R4          0x00000012
   92 #define GM107_TIC2_0_COMPONENTS_SIZES_A5B5G5R1          0x00000013
   93 #define GM107_TIC2_0_COMPONENTS_SIZES_A1B5G5R5          0x00000014
   94 #define GM107_TIC2_0_COMPONENTS_SIZES_B5G6R5            0x00000015
   95 #define GM107_TIC2_0_COMPONENTS_SIZES_B6G5R5            0x00000016
   96 #define GM107_TIC2_0_COMPONENTS_SIZES_G8R8          0x00000018
   97 #define GM107_TIC2_0_COMPONENTS_SIZES_R16           0x0000001b
   98 #define GM107_TIC2_0_COMPONENTS_SIZES_Y8_VIDEO          0x0000001c
   99 #define GM107_TIC2_0_COMPONENTS_SIZES_R8            0x0000001d
  100 #define GM107_TIC2_0_COMPONENTS_SIZES_G4R4          0x0000001e
  101 #define GM107_TIC2_0_COMPONENTS_SIZES_R1            0x0000001f
  102 #define GM107_TIC2_0_COMPONENTS_SIZES_E5B9G9R9_SHAREDEXP    0x00000020
  103 #define GM107_TIC2_0_COMPONENTS_SIZES_BF10GF11RF11      0x00000021
  104 #define GM107_TIC2_0_COMPONENTS_SIZES_G8B8G8R8          0x00000022
  105 #define GM107_TIC2_0_COMPONENTS_SIZES_B8G8R8G8          0x00000023
  106 #define GM107_TIC2_0_COMPONENTS_SIZES_DXT1          0x00000024
  107 #define GM107_TIC2_0_COMPONENTS_SIZES_DXT23         0x00000025
  108 #define GM107_TIC2_0_COMPONENTS_SIZES_DXT45         0x00000026
  109 #define GM107_TIC2_0_COMPONENTS_SIZES_DXN1          0x00000027
  110 #define GM107_TIC2_0_COMPONENTS_SIZES_DXN2          0x00000028
  111 #define GM107_TIC2_0_COMPONENTS_SIZES_BC6H_SF16         0x00000010
  112 #define GM107_TIC2_0_COMPONENTS_SIZES_BC6H_UF16         0x00000011
  113 #define GM107_TIC2_0_COMPONENTS_SIZES_BC7U          0x00000017
  114 #define GM107_TIC2_0_COMPONENTS_SIZES_ETC2_RGB          0x00000006
  115 #define GM107_TIC2_0_COMPONENTS_SIZES_ETC2_RGB_PTA      0x0000000a
  116 #define GM107_TIC2_0_COMPONENTS_SIZES_ETC2_RGBA         0x0000000b
  117 #define GM107_TIC2_0_COMPONENTS_SIZES_EAC           0x00000019
  118 #define GM107_TIC2_0_COMPONENTS_SIZES_EACX2         0x0000001a
  119 #define GM107_TIC2_0_COMPONENTS_SIZES_Z24S8         0x00000029
  120 #define GM107_TIC2_0_COMPONENTS_SIZES_X8Z24         0x0000002a
  121 #define GM107_TIC2_0_COMPONENTS_SIZES_S8Z24         0x0000002b
  122 #define GM107_TIC2_0_COMPONENTS_SIZES_X4V4Z24__COV4R4V      0x0000002c
  123 #define GM107_TIC2_0_COMPONENTS_SIZES_X4V4Z24__COV8R8V      0x0000002d
  124 #define GM107_TIC2_0_COMPONENTS_SIZES_V8Z24__COV4R12V       0x0000002e
  125 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32          0x0000002f
  126 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X24S8        0x00000030
  127 #define GM107_TIC2_0_COMPONENTS_SIZES_X8Z24_X20V4S8__COV4R4V    0x00000031
  128 #define GM107_TIC2_0_COMPONENTS_SIZES_X8Z24_X20V4S8__COV8R8V    0x00000032
  129 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X20V4X8__COV4R4V 0x00000033
  130 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X20V4X8__COV8R8V 0x00000034
  131 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X20V4S8__COV4R4V 0x00000035
  132 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X20V4S8__COV8R8V 0x00000036
  133 #define GM107_TIC2_0_COMPONENTS_SIZES_X8Z24_X16V8S8__COV4R12V   0x00000037
  134 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X16V8X8__COV4R12V    0x00000038
  135 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X16V8S8__COV4R12V    0x00000039
  136 #define GM107_TIC2_0_COMPONENTS_SIZES_Z16           0x0000003a
  137 #define GM107_TIC2_0_COMPONENTS_SIZES_V8Z24__COV8R24V       0x0000003b
  138 #define GM107_TIC2_0_COMPONENTS_SIZES_X8Z24_X16V8S8__COV8R24V   0x0000003c
  139 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X16V8X8__COV8R24V    0x0000003d
  140 #define GM107_TIC2_0_COMPONENTS_SIZES_ZF32_X16V8S8__COV8R24V    0x0000003e
  141 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_4X4       0x00000040
  142 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_5X4       0x00000050
  143 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_5X5       0x00000041
  144 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_6X5       0x00000051
  145 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_6X6       0x00000042
  146 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_8X5       0x00000055
  147 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_8X6       0x00000052
  148 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_8X8       0x00000044
  149 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_10X5      0x00000056
  150 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_10X6      0x00000057
  151 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_10X8      0x00000053
  152 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_10X10     0x00000045
  153 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_12X10     0x00000054
  154 #define GM107_TIC2_0_COMPONENTS_SIZES_ASTC_2D_12X12     0x00000046
  155 #define GM107_TIC2_0_R_DATA_TYPE__MASK              0x00000380
  156 #define GM107_TIC2_0_R_DATA_TYPE__SHIFT             7
  157 #define GM107_TIC2_0_G_DATA_TYPE__MASK              0x00001c00
  158 #define GM107_TIC2_0_G_DATA_TYPE__SHIFT             10
  159 #define GM107_TIC2_0_B_DATA_TYPE__MASK              0x0000e000
  160 #define GM107_TIC2_0_B_DATA_TYPE__SHIFT             13
  161 #define GM107_TIC2_0_A_DATA_TYPE__MASK              0x00070000
  162 #define GM107_TIC2_0_A_DATA_TYPE__SHIFT             16
  163 #define GM107_TIC2_0_X_SOURCE__MASK             0x00380000
  164 #define GM107_TIC2_0_X_SOURCE__SHIFT                19
  165 #define GM107_TIC2_0_Y_SOURCE__MASK             0x01c00000
  166 #define GM107_TIC2_0_Y_SOURCE__SHIFT                22
  167 #define GM107_TIC2_0_Z_SOURCE__MASK             0x0e000000
  168 #define GM107_TIC2_0_Z_SOURCE__SHIFT                25
  169 #define GM107_TIC2_0_W_SOURCE__MASK             0x70000000
  170 #define GM107_TIC2_0_W_SOURCE__SHIFT                28
  171 #define GM107_TIC2_0_PACK_COMPONENTS                0x80000000
  172 
  173 #define GM107_TIC2_1                        0x00000004
  174 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_0__MASK         0xffffffff
  175 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_0__SHIFT        0
  176 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_5__MASK         0xffffffe0
  177 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_5__SHIFT        5
  178 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_5__SHR          5
  179 #define GM107_TIC2_1_GOB_DEPTH_OFFSET__MASK         0x00000060
  180 #define GM107_TIC2_1_GOB_DEPTH_OFFSET__SHIFT            5
  181 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_9__MASK         0xfffffe00
  182 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_9__SHIFT        9
  183 #define GM107_TIC2_1_ADDRESS_BITS_31_TO_9__SHR          9
  184 
  185 #define GM107_TIC2_2                        0x00000008
  186 #define GM107_TIC2_2_ADDRESS_BITS_47_TO_32__MASK        0x0000ffff
  187 #define GM107_TIC2_2_ADDRESS_BITS_47_TO_32__SHIFT       0
  188 #define GM107_TIC2_2_HEADER_VERSION__MASK           0x00e00000
  189 #define GM107_TIC2_2_HEADER_VERSION__SHIFT          21
  190 #define GM107_TIC2_2_HEADER_VERSION_ONE_D_BUFFER        0x00000000
  191 #define GM107_TIC2_2_HEADER_VERSION_PITCH_COLORKEY      0x00200000
  192 #define GM107_TIC2_2_HEADER_VERSION_PITCH           0x00400000
  193 #define GM107_TIC2_2_HEADER_VERSION_BLOCKLINEAR         0x00600000
  194 #define GM107_TIC2_2_HEADER_VERSION_BLOCKLINEAR_COLORKEY    0x00800000
  195 #define GM107_TIC2_2_RESOURCE_VIEW_COHERENCY_HASH__MASK     0x1e000000
  196 #define GM107_TIC2_2_RESOURCE_VIEW_COHERENCY_HASH__SHIFT    25
  197 
  198 #define GM107_TIC2_3                        0x0000000c
  199 #define GM107_TIC2_3_WIDTH_MINUS_ONE_BITS_31_TO_16__MASK    0x0000ffff
  200 #define GM107_TIC2_3_WIDTH_MINUS_ONE_BITS_31_TO_16__SHIFT   0
  201 #define GM107_TIC2_3_PITCH_BITS_20_TO_5__MASK           0x0000ffff
  202 #define GM107_TIC2_3_PITCH_BITS_20_TO_5__SHIFT          0
  203 #define GM107_TIC2_3_PITCH_BITS_20_TO_5__SHR            5
  204 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH__MASK         0x00000007
  205 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH__SHIFT        0
  206 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH__MIN          0x00000000
  207 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH__MAX          0x00000000
  208 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH_ONE           0x00000000
  209 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH_TWO           0x00000001
  210 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH_FOUR          0x00000002
  211 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH_EIGHT         0x00000003
  212 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH_SIXTEEN       0x00000004
  213 #define GM107_TIC2_3_GOBS_PER_BLOCK_WIDTH_THIRTYTWO     0x00000005
  214 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT__MASK        0x00000038
  215 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT__SHIFT       3
  216 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT_ONE          0x00000000
  217 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT_TWO          0x00000008
  218 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT_FOUR         0x00000010
  219 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT_EIGHT        0x00000018
  220 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT_SIXTEEN      0x00000020
  221 #define GM107_TIC2_3_GOBS_PER_BLOCK_HEIGHT_THIRTYTWO        0x00000028
  222 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH__MASK         0x000001c0
  223 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH__SHIFT        6
  224 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH_ONE           0x00000000
  225 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH_TWO           0x00000040
  226 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH_FOUR          0x00000080
  227 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH_EIGHT         0x000000c0
  228 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH_SIXTEEN       0x00000100
  229 #define GM107_TIC2_3_GOBS_PER_BLOCK_DEPTH_THIRTYTWO     0x00000140
  230 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS__MASK           0x00001c00
  231 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS__SHIFT          10
  232 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS_ONE         0x00000000
  233 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS_TWO         0x00000400
  234 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS_FOUR            0x00000800
  235 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS_EIGHT           0x00000c00
  236 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS_SIXTEEN         0x00001000
  237 #define GM107_TIC2_3_TILE_WIDTH_IN_GOBS_THIRTYTWO       0x00001400
  238 #define GM107_TIC2_3_GOB_3D                 0x00002000
  239 #define GM107_TIC2_3_LOD_ANISO_QUALITY_2            0x00010000
  240 #define GM107_TIC2_3_LOD_ANISO_QUALITY__MASK            0x00020000
  241 #define GM107_TIC2_3_LOD_ANISO_QUALITY__SHIFT           17
  242 #define GM107_TIC2_3_LOD_ANISO_QUALITY_LOW          0x00000000
  243 #define GM107_TIC2_3_LOD_ANISO_QUALITY_HIGH         0x00020000
  244 #define GM107_TIC2_3_LOD_ISO_QUALITY__MASK          0x00040000
  245 #define GM107_TIC2_3_LOD_ISO_QUALITY__SHIFT         18
  246 #define GM107_TIC2_3_LOD_ISO_QUALITY_LOW            0x00000000
  247 #define GM107_TIC2_3_LOD_ISO_QUALITY_HIGH           0x00040000
  248 #define GM107_TIC2_3_ANISO_COARSE_SPREAD_MODIFIER__MASK     0x00180000
  249 #define GM107_TIC2_3_ANISO_COARSE_SPREAD_MODIFIER__SHIFT    19
  250 #define GM107_TIC2_3_ANISO_COARSE_SPREAD_MODIFIER_NONE      0x00000000
  251 #define GM107_TIC2_3_ANISO_COARSE_SPREAD_MODIFIER_CONST_ONE 0x00080000
  252 #define GM107_TIC2_3_ANISO_COARSE_SPREAD_MODIFIER_CONST_TWO 0x00100000
  253 #define GM107_TIC2_3_ANISO_COARSE_SPREAD_MODIFIER_SQRT      0x00180000
  254 #define GM107_TIC2_3_ANISO_SPREAD_SCALE__MASK           0x03e00000
  255 #define GM107_TIC2_3_ANISO_SPREAD_SCALE__SHIFT          21
  256 #define GM107_TIC2_3_USE_HEADER_OPT_CONTROL         0x04000000
  257 #define GM107_TIC2_3_DEPTH_TEXTURE              0x08000000
  258 #define GM107_TIC2_3_MAX_MIP_LEVEL__MASK            0xf0000000
  259 #define GM107_TIC2_3_MAX_MIP_LEVEL__SHIFT           28
  260 
  261 #define GM107_TIC2_4                        0x00000010
  262 #define GM107_TIC2_4_WIDTH_MINUS_ONE_BITS_15_TO_0__MASK     0x0000ffff
  263 #define GM107_TIC2_4_WIDTH_MINUS_ONE_BITS_15_TO_0__SHIFT    0
  264 #define GM107_TIC2_4_WIDTH_MINUS_ONE__MASK          0x0000ffff
  265 #define GM107_TIC2_4_WIDTH_MINUS_ONE__SHIFT         0
  266 #define GM107_TIC2_4_ANISO_SPREAD_MAX_LOG2__MASK        0x00380000
  267 #define GM107_TIC2_4_ANISO_SPREAD_MAX_LOG2__SHIFT       19
  268 #define GM107_TIC2_4_SRGB_CONVERSION                0x00400000
  269 #define GM107_TIC2_4_TEXTURE_TYPE__MASK             0x07800000
  270 #define GM107_TIC2_4_TEXTURE_TYPE__SHIFT            23
  271 #define GM107_TIC2_4_TEXTURE_TYPE_ONE_D             0x00000000
  272 #define GM107_TIC2_4_TEXTURE_TYPE_TWO_D             0x00800000
  273 #define GM107_TIC2_4_TEXTURE_TYPE_THREE_D           0x01000000
  274 #define GM107_TIC2_4_TEXTURE_TYPE_CUBEMAP           0x01800000
  275 #define GM107_TIC2_4_TEXTURE_TYPE_ONE_D_ARRAY           0x02000000
  276 #define GM107_TIC2_4_TEXTURE_TYPE_TWO_D_ARRAY           0x02800000
  277 #define GM107_TIC2_4_TEXTURE_TYPE_ONE_D_BUFFER          0x03000000
  278 #define GM107_TIC2_4_TEXTURE_TYPE_TWO_D_NO_MIPMAP       0x03800000
  279 #define GM107_TIC2_4_TEXTURE_TYPE_CUBE_ARRAY            0x04000000
  280 #define GM107_TIC2_4_SECTOR_PROMOTION__MASK         0x18000000
  281 #define GM107_TIC2_4_SECTOR_PROMOTION__SHIFT            27
  282 #define GM107_TIC2_4_SECTOR_PROMOTION_NO_PROMOTION      0x00000000
  283 #define GM107_TIC2_4_SECTOR_PROMOTION_PROMOTE_TO_2_V        0x08000000
  284 #define GM107_TIC2_4_SECTOR_PROMOTION_PROMOTE_TO_2_H        0x10000000
  285 #define GM107_TIC2_4_SECTOR_PROMOTION_PROMOTE_TO_4      0x18000000
  286 #define GM107_TIC2_4_BORDER_SIZE__MASK              0xe0000000
  287 #define GM107_TIC2_4_BORDER_SIZE__SHIFT             29
  288 #define GM107_TIC2_4_BORDER_SIZE_ONE                0x00000000
  289 #define GM107_TIC2_4_BORDER_SIZE_TWO                0x20000000
  290 #define GM107_TIC2_4_BORDER_SIZE_FOUR               0x40000000
  291 #define GM107_TIC2_4_BORDER_SIZE_EIGHT              0x60000000
  292 #define GM107_TIC2_4_BORDER_SIZE_SAMPLER_COLOR          0xe0000000
  293 
  294 #define GM107_TIC2_5                        0x00000014
  295 #define GM107_TIC2_5_HEIGHT_MINUS_ONE__MASK         0x0000ffff
  296 #define GM107_TIC2_5_HEIGHT_MINUS_ONE__SHIFT            0
  297 #define GM107_TIC2_5_DEPTH_MINUS_ONE__MASK          0x3fff0000
  298 #define GM107_TIC2_5_DEPTH_MINUS_ONE__SHIFT         16
  299 #define GM107_TIC2_5_NORMALIZED_COORDS              0x80000000
  300 
  301 #define GM107_TIC2_6                        0x00000018
  302 #define GM107_TIC2_6_COLOR_KEY_OP               0x00000001
  303 #define GM107_TIC2_6_TRILIN_OPT__MASK               0x0000003e
  304 #define GM107_TIC2_6_TRILIN_OPT__SHIFT              1
  305 #define GM107_TIC2_6_MIP_LOD_BIAS__MASK             0x0007ffc0
  306 #define GM107_TIC2_6_MIP_LOD_BIAS__SHIFT            6
  307 #define GM107_TIC2_6_MIP_LOD_BIAS__RADIX            0x00000008
  308 #define GM107_TIC2_6_ANISO_BIAS__MASK               0x00780000
  309 #define GM107_TIC2_6_ANISO_BIAS__SHIFT              19
  310 #define GM107_TIC2_6_ANISO_BIAS__RADIX              0x00000004
  311 #define GM107_TIC2_6_ANISO_FINE_SPREAD_FUNC__MASK       0x01800000
  312 #define GM107_TIC2_6_ANISO_FINE_SPREAD_FUNC__SHIFT      23
  313 #define GM107_TIC2_6_ANISO_FINE_SPREAD_FUNC_HALF        0x00000000
  314 #define GM107_TIC2_6_ANISO_FINE_SPREAD_FUNC_ONE         0x00800000
  315 #define GM107_TIC2_6_ANISO_FINE_SPREAD_FUNC_TWO         0x01000000
  316 #define GM107_TIC2_6_ANISO_FINE_SPREAD_FUNC_MAX         0x01800000
  317 #define GM107_TIC2_6_ANISO_COARSE_SPREAD_FUNC__MASK     0x06000000
  318 #define GM107_TIC2_6_ANISO_COARSE_SPREAD_FUNC__SHIFT        25
  319 #define GM107_TIC2_6_ANISO_COARSE_SPREAD_FUNC_HALF      0x00000000
  320 #define GM107_TIC2_6_ANISO_COARSE_SPREAD_FUNC_ONE       0x02000000
  321 #define GM107_TIC2_6_ANISO_COARSE_SPREAD_FUNC_TWO       0x04000000
  322 #define GM107_TIC2_6_ANISO_COARSE_SPREAD_FUNC_MAX       0x06000000
  323 #define GM107_TIC2_6_MAX_ANISOTROPY__MASK           0x38000000
  324 #define GM107_TIC2_6_MAX_ANISOTROPY__SHIFT          27
  325 #define GM107_TIC2_6_MAX_ANISOTROPY_1_TO_1          0x00000000
  326 #define GM107_TIC2_6_MAX_ANISOTROPY_2_TO_1          0x08000000
  327 #define GM107_TIC2_6_MAX_ANISOTROPY_4_TO_1          0x10000000
  328 #define GM107_TIC2_6_MAX_ANISOTROPY_6_TO_1          0x18000000
  329 #define GM107_TIC2_6_MAX_ANISOTROPY_8_TO_1          0x20000000
  330 #define GM107_TIC2_6_MAX_ANISOTROPY_10_TO_1         0x28000000
  331 #define GM107_TIC2_6_MAX_ANISOTROPY_12_TO_1         0x30000000
  332 #define GM107_TIC2_6_MAX_ANISOTROPY_16_TO_1         0x38000000
  333 #define GM107_TIC2_6_ANISO_FINE_SPREAD_MODIFIER__MASK       0xc0000000
  334 #define GM107_TIC2_6_ANISO_FINE_SPREAD_MODIFIER__SHIFT      30
  335 #define GM107_TIC2_6_ANISO_FINE_SPREAD_MODIFIER_NONE        0x00000000
  336 #define GM107_TIC2_6_ANISO_FINE_SPREAD_MODIFIER_CONST_ONE   0x40000000
  337 #define GM107_TIC2_6_ANISO_FINE_SPREAD_MODIFIER_CONST_TWO   0x80000000
  338 #define GM107_TIC2_6_ANISO_FINE_SPREAD_MODIFIER_SQRT        0xc0000000
  339 
  340 #define GM107_TIC2_7                        0x0000001c
  341 #define GM107_TIC2_7_COLOR_KEY_VALUE__MASK          0xffffffff
  342 #define GM107_TIC2_7_COLOR_KEY_VALUE__SHIFT         0
  343 #define GM107_TIC2_7_RES_VIEW_MIN_MIP_LEVEL__MASK       0x0000000f
  344 #define GM107_TIC2_7_RES_VIEW_MIN_MIP_LEVEL__SHIFT      0
  345 #define GM107_TIC2_7_RES_VIEW_MAX_MIP_LEVEL__MASK       0x000000f0
  346 #define GM107_TIC2_7_RES_VIEW_MAX_MIP_LEVEL__SHIFT      4
  347 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT__MASK           0x00000f00
  348 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT__SHIFT          8
  349 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_1X1         0x00000000
  350 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_2X1         0x00000100
  351 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_2X2         0x00000200
  352 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_4X2         0x00000300
  353 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_4X2_D3D         0x00000400
  354 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_2X1_D3D         0x00000500
  355 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_4X4         0x00000600
  356 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_2X2_VC_4        0x00000800
  357 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_2X2_VC_12       0x00000900
  358 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_4X2_VC_8        0x00000a00
  359 #define GM107_TIC2_7_MULTI_SAMPLE_COUNT_4X2_VC_24       0x00000b00
  360 #define GM107_TIC2_7_MIN_LOD_CLAMP__MASK            0x00fff000
  361 #define GM107_TIC2_7_MIN_LOD_CLAMP__SHIFT           12
  362 #define GM107_TIC2_7_MIN_LOD_CLAMP__RADIX           0x00000008
  363 
  364 
  365 #endif /* GM107_TEXTURE_XML */