Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
r300_reg.h File Reference

Go to the source code of this file.

Macros

#define R300_SURF_TILE_MACRO   (1<<16)
 
#define R300_SURF_TILE_MICRO   (2<<16)
 
#define R300_SURF_TILE_BOTH   (3<<16)
 
#define R300_MC_INIT_MISC_LAT_TIMER   0x180
 
#define R300_MC_MISC__MC_CPR_INIT_LAT_SHIFT   0
 
#define R300_MC_MISC__MC_VF_INIT_LAT_SHIFT   4
 
#define R300_MC_MISC__MC_DISP0R_INIT_LAT_SHIFT   8
 
#define R300_MC_MISC__MC_DISP1R_INIT_LAT_SHIFT   12
 
#define R300_MC_MISC__MC_FIXED_INIT_LAT_SHIFT   16
 
#define R300_MC_MISC__MC_E2R_INIT_LAT_SHIFT   20
 
#define R300_MC_MISC__MC_SAME_PAGE_PRIO_SHIFT   24
 
#define R300_MC_MISC__MC_GLOBW_INIT_LAT_SHIFT   28
 
#define R300_MC_INIT_GFX_LAT_TIMER   0x154
 
#define R300_MC_MISC__MC_G3D0R_INIT_LAT_SHIFT   0
 
#define R300_MC_MISC__MC_G3D1R_INIT_LAT_SHIFT   4
 
#define R300_MC_MISC__MC_G3D2R_INIT_LAT_SHIFT   8
 
#define R300_MC_MISC__MC_G3D3R_INIT_LAT_SHIFT   12
 
#define R300_MC_MISC__MC_TX0R_INIT_LAT_SHIFT   16
 
#define R300_MC_MISC__MC_TX1R_INIT_LAT_SHIFT   20
 
#define R300_MC_MISC__MC_GLOBR_INIT_LAT_SHIFT   24
 
#define R300_MC_MISC__MC_GLOBW_FULL_LAT_SHIFT   28
 
#define R300_SE_VPORT_XSCALE   0x1D98
 
#define R300_SE_VPORT_XOFFSET   0x1D9C
 
#define R300_SE_VPORT_YSCALE   0x1DA0
 
#define R300_SE_VPORT_YOFFSET   0x1DA4
 
#define R300_SE_VPORT_ZSCALE   0x1DA8
 
#define R300_SE_VPORT_ZOFFSET   0x1DAC
 
#define R300_VAP_CNTL   0x2080
 
#define R300_VAP_VF_CNTL   0x2084
 
#define R300_VAP_VF_CNTL__PRIM_TYPE__SHIFT   0
 
#define R300_VAP_VF_CNTL__PRIM_NONE   (0<<0)
 
#define R300_VAP_VF_CNTL__PRIM_POINTS   (1<<0)
 
#define R300_VAP_VF_CNTL__PRIM_LINES   (2<<0)
 
#define R300_VAP_VF_CNTL__PRIM_LINE_STRIP   (3<<0)
 
#define R300_VAP_VF_CNTL__PRIM_TRIANGLES   (4<<0)
 
#define R300_VAP_VF_CNTL__PRIM_TRIANGLE_FAN   (5<<0)
 
#define R300_VAP_VF_CNTL__PRIM_TRIANGLE_STRIP   (6<<0)
 
#define R300_VAP_VF_CNTL__PRIM_LINE_LOOP   (12<<0)
 
#define R300_VAP_VF_CNTL__PRIM_QUADS   (13<<0)
 
#define R300_VAP_VF_CNTL__PRIM_QUAD_STRIP   (14<<0)
 
#define R300_VAP_VF_CNTL__PRIM_POLYGON   (15<<0)
 
#define R300_VAP_VF_CNTL__PRIM_WALK__SHIFT   4
 
#define R300_VAP_VF_CNTL__PRIM_WALK_STATE_BASED   (0<<4)
 
#define R300_VAP_VF_CNTL__PRIM_WALK_INDICES   (1<<4)
 
#define R300_VAP_VF_CNTL__PRIM_WALK_VERTEX_LIST   (2<<4)
 
#define R300_VAP_VF_CNTL__PRIM_WALK_VERTEX_EMBEDDED   (3<<4)
 
#define R300_VAP_VF_CNTL__COLOR_ORDER__SHIFT   6
 
#define R300_VAP_VF_CNTL__TCL_OUTPUT_CTL_ENA__SHIFT   9
 
#define R300_VAP_VF_CNTL__PROG_STREAM_ENA__SHIFT   10
 
#define R300_VAP_VF_CNTL__INDEX_SIZE_32bit   (1<<11)
 
#define R300_VAP_VF_CNTL__NUM_VERTICES__SHIFT   16
 
#define R300_VAP_OUTPUT_VTX_FMT_0   0x2090
 
#define R300_VAP_OUTPUT_VTX_FMT_0__POS_PRESENT   (1<<0)
 
#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_PRESENT   (1<<1)
 
#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_1_PRESENT   (1<<2) /* GUESS */
 
#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_2_PRESENT   (1<<3) /* GUESS */
 
#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_3_PRESENT   (1<<4) /* GUESS */
 
#define R300_VAP_OUTPUT_VTX_FMT_0__PT_SIZE_PRESENT   (1<<16) /* GUESS */
 
#define R300_VAP_OUTPUT_VTX_FMT_1   0x2094
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_0_COMP_CNT_SHIFT   0
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_1_COMP_CNT_SHIFT   3
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_2_COMP_CNT_SHIFT   6
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_3_COMP_CNT_SHIFT   9
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_4_COMP_CNT_SHIFT   12
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_5_COMP_CNT_SHIFT   15
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_6_COMP_CNT_SHIFT   18
 
#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_7_COMP_CNT_SHIFT   21
 
#define R300_SE_VTE_CNTL   0x20b0
 
#define R300_VPORT_X_SCALE_ENA   0x00000001
 
#define R300_VPORT_X_OFFSET_ENA   0x00000002
 
#define R300_VPORT_Y_SCALE_ENA   0x00000004
 
#define R300_VPORT_Y_OFFSET_ENA   0x00000008
 
#define R300_VPORT_Z_SCALE_ENA   0x00000010
 
#define R300_VPORT_Z_OFFSET_ENA   0x00000020
 
#define R300_VTX_XY_FMT   0x00000100
 
#define R300_VTX_Z_FMT   0x00000200
 
#define R300_VTX_W0_FMT   0x00000400
 
#define R300_VTX_W0_NORMALIZE   0x00000800
 
#define R300_VTX_ST_DENORMALIZED   0x00001000
 
#define R300_VAP_CNTL_STATUS   0x2140
 
#define R300_VC_NO_SWAP   (0 << 0)
 
#define R300_VC_16BIT_SWAP   (1 << 0)
 
#define R300_VC_32BIT_SWAP   (2 << 0)
 
#define R300_VAP_TCL_BYPASS   (1 << 8)
 
#define R300_VAP_INPUT_ROUTE_0_0   0x2150
 
#define R300_INPUT_ROUTE_COMPONENTS_1   (0 << 0)
 
#define R300_INPUT_ROUTE_COMPONENTS_2   (1 << 0)
 
#define R300_INPUT_ROUTE_COMPONENTS_3   (2 << 0)
 
#define R300_INPUT_ROUTE_COMPONENTS_4   (3 << 0)
 
#define R300_INPUT_ROUTE_COMPONENTS_RGBA   (4 << 0) /* GUESS */
 
#define R300_VAP_INPUT_ROUTE_IDX_SHIFT   8
 
#define R300_VAP_INPUT_ROUTE_IDX_MASK   (31 << 8) /* GUESS */
 
#define R300_VAP_INPUT_ROUTE_END   (1 << 13)
 
#define R300_INPUT_ROUTE_IMMEDIATE_MODE   (0 << 14) /* GUESS */
 
#define R300_INPUT_ROUTE_FLOAT   (1 << 14) /* GUESS */
 
#define R300_INPUT_ROUTE_UNSIGNED_BYTE   (2 << 14) /* GUESS */
 
#define R300_INPUT_ROUTE_FLOAT_COLOR   (3 << 14) /* GUESS */
 
#define R300_VAP_INPUT_ROUTE_0_1   0x2154
 
#define R300_VAP_INPUT_ROUTE_0_2   0x2158
 
#define R300_VAP_INPUT_ROUTE_0_3   0x215C
 
#define R300_VAP_INPUT_ROUTE_0_4   0x2160
 
#define R300_VAP_INPUT_ROUTE_0_5   0x2164
 
#define R300_VAP_INPUT_ROUTE_0_6   0x2168
 
#define R300_VAP_INPUT_ROUTE_0_7   0x216C
 
#define R300_VAP_INPUT_CNTL_0   0x2180
 
#define R300_INPUT_CNTL_0_COLOR   0x00000001
 
#define R300_VAP_INPUT_CNTL_1   0x2184
 
#define R300_INPUT_CNTL_POS   0x00000001
 
#define R300_INPUT_CNTL_NORMAL   0x00000002
 
#define R300_INPUT_CNTL_COLOR   0x00000004
 
#define R300_INPUT_CNTL_TC0   0x00000400
 
#define R300_INPUT_CNTL_TC1   0x00000800
 
#define R300_INPUT_CNTL_TC2   0x00001000 /* GUESS */
 
#define R300_INPUT_CNTL_TC3   0x00002000 /* GUESS */
 
#define R300_INPUT_CNTL_TC4   0x00004000 /* GUESS */
 
#define R300_INPUT_CNTL_TC5   0x00008000 /* GUESS */
 
#define R300_INPUT_CNTL_TC6   0x00010000 /* GUESS */
 
#define R300_INPUT_CNTL_TC7   0x00020000 /* GUESS */
 
#define R300_VAP_INPUT_ROUTE_1_0   0x21E0
 
#define R300_INPUT_ROUTE_SELECT_X   0
 
#define R300_INPUT_ROUTE_SELECT_Y   1
 
#define R300_INPUT_ROUTE_SELECT_Z   2
 
#define R300_INPUT_ROUTE_SELECT_W   3
 
#define R300_INPUT_ROUTE_SELECT_ZERO   4
 
#define R300_INPUT_ROUTE_SELECT_ONE   5
 
#define R300_INPUT_ROUTE_SELECT_MASK   7
 
#define R300_INPUT_ROUTE_X_SHIFT   0
 
#define R300_INPUT_ROUTE_Y_SHIFT   3
 
#define R300_INPUT_ROUTE_Z_SHIFT   6
 
#define R300_INPUT_ROUTE_W_SHIFT   9
 
#define R300_INPUT_ROUTE_ENABLE   (15 << 12)
 
#define R300_VAP_INPUT_ROUTE_1_1   0x21E4
 
#define R300_VAP_INPUT_ROUTE_1_2   0x21E8
 
#define R300_VAP_INPUT_ROUTE_1_3   0x21EC
 
#define R300_VAP_INPUT_ROUTE_1_4   0x21F0
 
#define R300_VAP_INPUT_ROUTE_1_5   0x21F4
 
#define R300_VAP_INPUT_ROUTE_1_6   0x21F8
 
#define R300_VAP_INPUT_ROUTE_1_7   0x21FC
 
#define R300_VAP_PVS_UPLOAD_ADDRESS   0x2200
 
#define R300_PVS_UPLOAD_PROGRAM   0x00000000
 
#define R300_PVS_UPLOAD_PARAMETERS   0x00000200
 
#define R300_PVS_UPLOAD_POINTSIZE   0x00000406
 
#define R300_VAP_PVS_UPLOAD_DATA   0x2208
 
#define R300_VAP_UNKNOWN_221C   0x221C
 
#define R300_221C_NORMAL   0x00000000
 
#define R300_221C_CLEAR   0x0001C000
 
#define R300_VAP_CLIP_X_0   0x2220
 
#define R300_VAP_CLIP_X_1   0x2224
 
#define R300_VAP_CLIP_Y_0   0x2228
 
#define R300_VAP_CLIP_Y_1   0x2230
 
#define R300_VAP_PVS_STATE_FLUSH_REG   0x2284
 
#define R300_VAP_UNKNOWN_2288   0x2288
 
#define R300_2288_R300   0x00750000 /* -- nh */
 
#define R300_2288_RV350   0x0000FFFF /* -- Vladimir */
 
#define R300_VAP_PVS_CNTL_1   0x22D0
 
#define R300_PVS_CNTL_1_PROGRAM_START_SHIFT   0
 
#define R300_PVS_CNTL_1_POS_END_SHIFT   10
 
#define R300_PVS_CNTL_1_PROGRAM_END_SHIFT   20
 
#define R300_VAP_PVS_CNTL_2   0x22D4
 
#define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT   0
 
#define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT   16
 
#define R300_VAP_PVS_CNTL_3   0x22D8
 
#define R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT   10
 
#define R300_PVS_CNTL_3_PROGRAM_UNKNOWN2_SHIFT   0
 
#define R300_VAP_VTX_COLOR_R   0x2464
 
#define R300_VAP_VTX_COLOR_G   0x2468
 
#define R300_VAP_VTX_COLOR_B   0x246C
 
#define R300_VAP_VTX_POS_0_X_1   0x2490 /* used for glVertex2*() */
 
#define R300_VAP_VTX_POS_0_Y_1   0x2494
 
#define R300_VAP_VTX_COLOR_PKD   0x249C /* RGBA */
 
#define R300_VAP_VTX_POS_0_X_2   0x24A0 /* used for glVertex3*() */
 
#define R300_VAP_VTX_POS_0_Y_2   0x24A4
 
#define R300_VAP_VTX_POS_0_Z_2   0x24A8
 
#define R300_VAP_VTX_END_OF_PKT   0x24AC
 
#define R300_GB_VAP_RASTER_VTX_FMT_0   0x4000
 
#define R300_GB_VAP_RASTER_VTX_FMT_0__POS_PRESENT   (1<<0)
 
#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_0_PRESENT   (1<<1)
 
#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_1_PRESENT   (1<<2)
 
#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_2_PRESENT   (1<<3)
 
#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_3_PRESENT   (1<<4)
 
#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_SPACE   (0xf<<5)
 
#define R300_GB_VAP_RASTER_VTX_FMT_0__PT_SIZE_PRESENT   (0x1<<16)
 
#define R300_GB_VAP_RASTER_VTX_FMT_1   0x4004
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_0_COMP_CNT_SHIFT   0
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_1_COMP_CNT_SHIFT   3
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_2_COMP_CNT_SHIFT   6
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_3_COMP_CNT_SHIFT   9
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_4_COMP_CNT_SHIFT   12
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_5_COMP_CNT_SHIFT   15
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_6_COMP_CNT_SHIFT   18
 
#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_7_COMP_CNT_SHIFT   21
 
#define R300_GB_ENABLE   0x4008
 
#define R300_GB_POINT_STUFF_ENABLE   (1<<0)
 
#define R300_GB_LINE_STUFF_ENABLE   (1<<1)
 
#define R300_GB_TRIANGLE_STUFF_ENABLE   (1<<2)
 
#define R300_GB_STENCIL_AUTO_ENABLE   (1<<4)
 
#define R300_GB_UNK31   (1<<31)
 
#define R300_GB_TEX_REPLICATE   0
 
#define R300_GB_TEX_ST   1
 
#define R300_GB_TEX_STR   2
 
#define R300_GB_TEX0_SOURCE_SHIFT   16
 
#define R300_GB_TEX1_SOURCE_SHIFT   18
 
#define R300_GB_TEX2_SOURCE_SHIFT   20
 
#define R300_GB_TEX3_SOURCE_SHIFT   22
 
#define R300_GB_TEX4_SOURCE_SHIFT   24
 
#define R300_GB_TEX5_SOURCE_SHIFT   26
 
#define R300_GB_TEX6_SOURCE_SHIFT   28
 
#define R300_GB_TEX7_SOURCE_SHIFT   30
 
#define R300_GB_MSPOS0   0x4010
 
#define R300_GB_MSPOS0__MS_X0_SHIFT   0
 
#define R300_GB_MSPOS0__MS_Y0_SHIFT   4
 
#define R300_GB_MSPOS0__MS_X1_SHIFT   8
 
#define R300_GB_MSPOS0__MS_Y1_SHIFT   12
 
#define R300_GB_MSPOS0__MS_X2_SHIFT   16
 
#define R300_GB_MSPOS0__MS_Y2_SHIFT   20
 
#define R300_GB_MSPOS0__MSBD0_Y   24
 
#define R300_GB_MSPOS0__MSBD0_X   28
 
#define R300_GB_MSPOS1   0x4014
 
#define R300_GB_MSPOS1__MS_X3_SHIFT   0
 
#define R300_GB_MSPOS1__MS_Y3_SHIFT   4
 
#define R300_GB_MSPOS1__MS_X4_SHIFT   8
 
#define R300_GB_MSPOS1__MS_Y4_SHIFT   12
 
#define R300_GB_MSPOS1__MS_X5_SHIFT   16
 
#define R300_GB_MSPOS1__MS_Y5_SHIFT   20
 
#define R300_GB_MSPOS1__MSBD1   24
 
#define R300_GB_TILE_CONFIG   0x4018
 
#define R300_GB_TILE_ENABLE   (1<<0)
 
#define R300_GB_TILE_PIPE_COUNT_RV300   0
 
#define R300_GB_TILE_PIPE_COUNT_R300   (3<<1)
 
#define R300_GB_TILE_PIPE_COUNT_R420   (7<<1)
 
#define R300_GB_TILE_PIPE_COUNT_RV410   (3<<1)
 
#define R300_GB_TILE_SIZE_8   0
 
#define R300_GB_TILE_SIZE_16   (1<<4)
 
#define R300_GB_TILE_SIZE_32   (2<<4)
 
#define R300_GB_SUPER_SIZE_1   (0<<6)
 
#define R300_GB_SUPER_SIZE_2   (1<<6)
 
#define R300_GB_SUPER_SIZE_4   (2<<6)
 
#define R300_GB_SUPER_SIZE_8   (3<<6)
 
#define R300_GB_SUPER_SIZE_16   (4<<6)
 
#define R300_GB_SUPER_SIZE_32   (5<<6)
 
#define R300_GB_SUPER_SIZE_64   (6<<6)
 
#define R300_GB_SUPER_SIZE_128   (7<<6)
 
#define R300_GB_SUPER_X_SHIFT   9 /* 3 bits wide */
 
#define R300_GB_SUPER_Y_SHIFT   12 /* 3 bits wide */
 
#define R300_GB_SUPER_TILE_A   0
 
#define R300_GB_SUPER_TILE_B   (1<<15)
 
#define R300_GB_SUBPIXEL_1_12   0
 
#define R300_GB_SUBPIXEL_1_16   (1<<16)
 
#define R300_GB_FIFO_SIZE   0x4024
 
#define R300_GB_FIFO_SIZE_32   0
 
#define R300_GB_FIFO_SIZE_64   1
 
#define R300_GB_FIFO_SIZE_128   2
 
#define R300_GB_FIFO_SIZE_256   3
 
#define R300_SC_IFIFO_SIZE_SHIFT   0
 
#define R300_SC_TZFIFO_SIZE_SHIFT   2
 
#define R300_SC_BFIFO_SIZE_SHIFT   4
 
#define R300_US_OFIFO_SIZE_SHIFT   12
 
#define R300_US_WFIFO_SIZE_SHIFT   14
 
#define R300_RS_TFIFO_SIZE_SHIFT   6
 
#define R300_RS_CFIFO_SIZE_SHIFT   8
 
#define R300_US_RAM_SIZE_SHIFT   10
 
#define R300_RS_HIGHWATER_COL_SHIFT   16
 
#define R300_RS_HIGHWATER_TEX_SHIFT   19
 
#define R300_OFIFO_HIGHWATER_SHIFT   22 /* two bits only */
 
#define R300_CUBE_FIFO_HIGHWATER_COL_SHIFT   24
 
#define R300_GB_SELECT   0x401C
 
#define R300_GB_FOG_SELECT_C0A   0
 
#define R300_GB_FOG_SELECT_C1A   1
 
#define R300_GB_FOG_SELECT_C2A   2
 
#define R300_GB_FOG_SELECT_C3A   3
 
#define R300_GB_FOG_SELECT_1_1_W   4
 
#define R300_GB_FOG_SELECT_Z   5
 
#define R300_GB_DEPTH_SELECT_Z   0
 
#define R300_GB_DEPTH_SELECT_1_1_W   (1<<3)
 
#define R300_GB_W_SELECT_1_W   0
 
#define R300_GB_W_SELECT_1   (1<<4)
 
#define R300_GB_AA_CONFIG   0x4020
 
#define R300_AA_DISABLE   0x00
 
#define R300_AA_ENABLE   0x01
 
#define R300_AA_SUBSAMPLES_2   0
 
#define R300_AA_SUBSAMPLES_3   (1<<1)
 
#define R300_AA_SUBSAMPLES_4   (2<<1)
 
#define R300_AA_SUBSAMPLES_6   (3<<1)
 
#define R300_TX_INVALTAGS   0x4100
 
#define R300_TX_FLUSH   0x0
 
#define R300_TX_ENABLE   0x4104
 
#define R300_TX_ENABLE_0   (1 << 0)
 
#define R300_TX_ENABLE_1   (1 << 1)
 
#define R300_TX_ENABLE_2   (1 << 2)
 
#define R300_TX_ENABLE_3   (1 << 3)
 
#define R300_TX_ENABLE_4   (1 << 4)
 
#define R300_TX_ENABLE_5   (1 << 5)
 
#define R300_TX_ENABLE_6   (1 << 6)
 
#define R300_TX_ENABLE_7   (1 << 7)
 
#define R300_TX_ENABLE_8   (1 << 8)
 
#define R300_TX_ENABLE_9   (1 << 9)
 
#define R300_TX_ENABLE_10   (1 << 10)
 
#define R300_TX_ENABLE_11   (1 << 11)
 
#define R300_TX_ENABLE_12   (1 << 12)
 
#define R300_TX_ENABLE_13   (1 << 13)
 
#define R300_TX_ENABLE_14   (1 << 14)
 
#define R300_TX_ENABLE_15   (1 << 15)
 
#define R300_RE_POINTSIZE   0x421C
 
#define R300_POINTSIZE_Y_SHIFT   0
 
#define R300_POINTSIZE_Y_MASK   (0xFFFF << 0) /* GUESS */
 
#define R300_POINTSIZE_X_SHIFT   16
 
#define R300_POINTSIZE_X_MASK   (0xFFFF << 16) /* GUESS */
 
#define R300_POINTSIZE_MAX   (R300_POINTSIZE_Y_MASK / 6)
 
#define R300_RE_LINE_CNT   0x4234
 
#define R300_LINESIZE_SHIFT   0
 
#define R300_LINESIZE_MASK   (0xFFFF << 0) /* GUESS */
 
#define R300_LINESIZE_MAX   (R300_LINESIZE_MASK / 6)
 
#define R300_LINE_CNT_HO   (1 << 16)
 
#define R300_LINE_CNT_VE   (1 << 17)
 
#define R300_RE_UNK4238   0x4238
 
#define R300_RE_SHADE   0x4274
 
#define R300_RE_SHADE_MODEL   0x4278
 
#define R300_RE_SHADE_MODEL_SMOOTH   0x3aaaa
 
#define R300_RE_SHADE_MODEL_FLAT   0x39595
 
#define R300_RE_POLYGON_MODE   0x4288
 
#define R300_PM_ENABLED   (1 << 0)
 
#define R300_PM_FRONT_POINT   (0 << 0)
 
#define R300_PM_BACK_POINT   (0 << 0)
 
#define R300_PM_FRONT_LINE   (1 << 4)
 
#define R300_PM_FRONT_FILL   (1 << 5)
 
#define R300_PM_BACK_LINE   (1 << 7)
 
#define R300_PM_BACK_FILL   (1 << 8)
 
#define R300_RE_FOG_SCALE   0x4294
 
#define R300_RE_FOG_START   0x4298
 
#define R300_RE_ZBIAS_CNTL   0x42A0 /* GUESS */
 
#define R300_RE_ZBIAS_T_FACTOR   0x42A4
 
#define R300_RE_ZBIAS_T_CONSTANT   0x42A8
 
#define R300_RE_ZBIAS_W_FACTOR   0x42AC
 
#define R300_RE_ZBIAS_W_CONSTANT   0x42B0
 
#define R300_RE_OCCLUSION_CNTL   0x42B4
 
#define R300_OCCLUSION_ON   (1<<1)
 
#define R300_RE_CULL_CNTL   0x42B8
 
#define R300_CULL_FRONT   (1 << 0)
 
#define R300_CULL_BACK   (1 << 1)
 
#define R300_FRONT_FACE_CCW   (0 << 2)
 
#define R300_FRONT_FACE_CW   (1 << 2)
 
#define R300_RS_CNTL_0   0x4300
 
#define R300_RS_CNTL_TC_CNT_SHIFT   2
 
#define R300_RS_CNTL_TC_CNT_MASK   (7 << 2)
 
#define R300_RS_CNTL_CI_CNT_SHIFT   7
 
#define R300_RS_CNTL_0_UNKNOWN_18   (1 << 18)
 
#define R300_RS_CNTL_1   0x4304
 
#define R300_RS_INTERP_0   0x4310
 
#define R300_RS_INTERP_1   0x4314
 
#define R300_RS_INTERP_1_UNKNOWN   0x40
 
#define R300_RS_INTERP_2   0x4318
 
#define R300_RS_INTERP_2_UNKNOWN   0x80
 
#define R300_RS_INTERP_3   0x431C
 
#define R300_RS_INTERP_3_UNKNOWN   0xC0
 
#define R300_RS_INTERP_4   0x4320
 
#define R300_RS_INTERP_5   0x4324
 
#define R300_RS_INTERP_6   0x4328
 
#define R300_RS_INTERP_7   0x432C
 
#define R300_RS_INTERP_SRC_SHIFT   2
 
#define R300_RS_INTERP_SRC_MASK   (7 << 2)
 
#define R300_RS_INTERP_USED   0x00D10000
 
#define R300_RS_ROUTE_0   0x4330
 
#define R300_RS_ROUTE_1   0x4334
 
#define R300_RS_ROUTE_2   0x4338
 
#define R300_RS_ROUTE_3   0x433C /* GUESS */
 
#define R300_RS_ROUTE_4   0x4340 /* GUESS */
 
#define R300_RS_ROUTE_5   0x4344 /* GUESS */
 
#define R300_RS_ROUTE_6   0x4348 /* GUESS */
 
#define R300_RS_ROUTE_7   0x434C /* GUESS */
 
#define R300_RS_ROUTE_SOURCE_INTERP_0   0
 
#define R300_RS_ROUTE_SOURCE_INTERP_1   1
 
#define R300_RS_ROUTE_SOURCE_INTERP_2   2
 
#define R300_RS_ROUTE_SOURCE_INTERP_3   3
 
#define R300_RS_ROUTE_SOURCE_INTERP_4   4
 
#define R300_RS_ROUTE_SOURCE_INTERP_5   5 /* GUESS */
 
#define R300_RS_ROUTE_SOURCE_INTERP_6   6 /* GUESS */
 
#define R300_RS_ROUTE_SOURCE_INTERP_7   7 /* GUESS */
 
#define R300_RS_ROUTE_ENABLE   (1 << 3) /* GUESS */
 
#define R300_RS_ROUTE_DEST_SHIFT   6
 
#define R300_RS_ROUTE_DEST_MASK   (31 << 6) /* GUESS */
 
#define R300_RS_ROUTE_0_COLOR   (1 << 14)
 
#define R300_RS_ROUTE_0_COLOR_DEST_SHIFT   17
 
#define R300_RS_ROUTE_0_COLOR_DEST_MASK   (31 << 17) /* GUESS */
 
#define R300_RS_ROUTE_1_COLOR1   (1 << 14)
 
#define R300_RS_ROUTE_1_COLOR1_DEST_SHIFT   17
 
#define R300_RS_ROUTE_1_COLOR1_DEST_MASK   (31 << 17)
 
#define R300_RS_ROUTE_1_UNKNOWN11   (1 << 11)
 
#define R300_SC_HYPERZ   0x43a4
 
#define R300_SC_HYPERZ_DISABLE   (0 << 0)
 
#define R300_SC_HYPERZ_ENABLE   (1 << 0)
 
#define R300_SC_HYPERZ_MIN   (0 << 1)
 
#define R300_SC_HYPERZ_MAX   (1 << 1)
 
#define R300_SC_HYPERZ_ADJ_256   (0 << 2)
 
#define R300_SC_HYPERZ_ADJ_128   (1 << 2)
 
#define R300_SC_HYPERZ_ADJ_64   (2 << 2)
 
#define R300_SC_HYPERZ_ADJ_32   (3 << 2)
 
#define R300_SC_HYPERZ_ADJ_16   (4 << 2)
 
#define R300_SC_HYPERZ_ADJ_8   (5 << 2)
 
#define R300_SC_HYPERZ_ADJ_4   (6 << 2)
 
#define R300_SC_HYPERZ_ADJ_2   (7 << 2)
 
#define R300_SC_HYPERZ_HZ_Z0MIN_NO   (0 << 5)
 
#define R300_SC_HYPERZ_HZ_Z0MIN   (1 << 5)
 
#define R300_SC_HYPERZ_HZ_Z0MAX_NO   (0 << 6)
 
#define R300_SC_HYPERZ_HZ_Z0MAX   (1 << 6)
 
#define R300_SC_EDGERULE   0x43a8
 
#define R300_RE_CLIPRECT_TL_0   0x43B0
 
#define R300_RE_CLIPRECT_BR_0   0x43B4
 
#define R300_RE_CLIPRECT_TL_1   0x43B8
 
#define R300_RE_CLIPRECT_BR_1   0x43BC
 
#define R300_RE_CLIPRECT_TL_2   0x43C0
 
#define R300_RE_CLIPRECT_BR_2   0x43C4
 
#define R300_RE_CLIPRECT_TL_3   0x43C8
 
#define R300_RE_CLIPRECT_BR_3   0x43CC
 
#define R300_CLIPRECT_OFFSET   1440
 
#define R300_CLIPRECT_MASK   0x1FFF
 
#define R300_CLIPRECT_X_SHIFT   0
 
#define R300_CLIPRECT_X_MASK   (0x1FFF << 0)
 
#define R300_CLIPRECT_Y_SHIFT   13
 
#define R300_CLIPRECT_Y_MASK   (0x1FFF << 13)
 
#define R300_RE_CLIPRECT_CNTL   0x43D0
 
#define R300_CLIP_OUT   (1 << 0)
 
#define R300_CLIP_0   (1 << 1)
 
#define R300_CLIP_1   (1 << 2)
 
#define R300_CLIP_10   (1 << 3)
 
#define R300_CLIP_2   (1 << 4)
 
#define R300_CLIP_20   (1 << 5)
 
#define R300_CLIP_21   (1 << 6)
 
#define R300_CLIP_210   (1 << 7)
 
#define R300_CLIP_3   (1 << 8)
 
#define R300_CLIP_30   (1 << 9)
 
#define R300_CLIP_31   (1 << 10)
 
#define R300_CLIP_310   (1 << 11)
 
#define R300_CLIP_32   (1 << 12)
 
#define R300_CLIP_320   (1 << 13)
 
#define R300_CLIP_321   (1 << 14)
 
#define R300_CLIP_3210   (1 << 15)
 
#define R300_RE_SCISSORS_TL   0x43E0
 
#define R300_RE_SCISSORS_BR   0x43E4
 
#define R300_SCISSORS_OFFSET   1440
 
#define R300_SCISSORS_X_SHIFT   0
 
#define R300_SCISSORS_X_MASK   (0x1FFF << 0)
 
#define R300_SCISSORS_Y_SHIFT   13
 
#define R300_SCISSORS_Y_MASK   (0x1FFF << 13)
 
#define R300_TX_FILTER_0   0x4400
 
#define R300_TX_REPEAT   0
 
#define R300_TX_MIRRORED   1
 
#define R300_TX_CLAMP   4
 
#define R300_TX_CLAMP_TO_EDGE   2
 
#define R300_TX_CLAMP_TO_BORDER   6
 
#define R300_TX_WRAP_S_SHIFT   0
 
#define R300_TX_WRAP_S_MASK   (7 << 0)
 
#define R300_TX_WRAP_T_SHIFT   3
 
#define R300_TX_WRAP_T_MASK   (7 << 3)
 
#define R300_TX_WRAP_Q_SHIFT   6
 
#define R300_TX_WRAP_Q_MASK   (7 << 6)
 
#define R300_TX_MAG_FILTER_NEAREST   (1 << 9)
 
#define R300_TX_MAG_FILTER_LINEAR   (2 << 9)
 
#define R300_TX_MAG_FILTER_MASK   (3 << 9)
 
#define R300_TX_MIN_FILTER_NEAREST   (1 << 11)
 
#define R300_TX_MIN_FILTER_LINEAR   (2 << 11)
 
#define R300_TX_MIN_FILTER_NEAREST_MIP_NEAREST   (5 << 11)
 
#define R300_TX_MIN_FILTER_NEAREST_MIP_LINEAR   (9 << 11)
 
#define R300_TX_MIN_FILTER_LINEAR_MIP_NEAREST   (6 << 11)
 
#define R300_TX_MIN_FILTER_LINEAR_MIP_LINEAR   (10 << 11)
 
#define R300_TX_MIN_FILTER_ANISO_NEAREST   (0 << 13)
 
#define R300_TX_MIN_FILTER_ANISO_LINEAR   (0 << 13)
 
#define R300_TX_MIN_FILTER_ANISO_NEAREST_MIP_NEAREST   (1 << 13)
 
#define R300_TX_MIN_FILTER_ANISO_NEAREST_MIP_LINEAR   (2 << 13)
 
#define R300_TX_MIN_FILTER_MASK   ( (15 << 11) | (3 << 13) )
 
#define R300_TX_MAX_ANISO_1_TO_1   (0 << 21)
 
#define R300_TX_MAX_ANISO_2_TO_1   (2 << 21)
 
#define R300_TX_MAX_ANISO_4_TO_1   (4 << 21)
 
#define R300_TX_MAX_ANISO_8_TO_1   (6 << 21)
 
#define R300_TX_MAX_ANISO_16_TO_1   (8 << 21)
 
#define R300_TX_MAX_ANISO_MASK   (14 << 21)
 
#define R300_TX_FILTER1_0   0x4440
 
#define R300_CHROMA_KEY_MODE_DISABLE   0
 
#define R300_CHROMA_KEY_FORCE   1
 
#define R300_CHROMA_KEY_BLEND   2
 
#define R300_MC_ROUND_NORMAL   (0<<2)
 
#define R300_MC_ROUND_MPEG4   (1<<2)
 
#define R300_LOD_BIAS_MASK   0x1fff
 
#define R300_EDGE_ANISO_EDGE_DIAG   (0<<13)
 
#define R300_EDGE_ANISO_EDGE_ONLY   (1<<13)
 
#define R300_MC_COORD_TRUNCATE_DISABLE   (0<<14)
 
#define R300_MC_COORD_TRUNCATE_MPEG   (1<<14)
 
#define R300_TX_TRI_PERF_0_8   (0<<15)
 
#define R300_TX_TRI_PERF_1_8   (1<<15)
 
#define R300_TX_TRI_PERF_1_4   (2<<15)
 
#define R300_TX_TRI_PERF_3_8   (3<<15)
 
#define R300_ANISO_THRESHOLD_MASK   (7<<17)
 
#define R300_TX_SIZE_0   0x4480
 
#define R300_TX_WIDTHMASK_SHIFT   0
 
#define R300_TX_WIDTHMASK_MASK   (2047 << 0)
 
#define R300_TX_HEIGHTMASK_SHIFT   11
 
#define R300_TX_HEIGHTMASK_MASK   (2047 << 11)
 
#define R300_TX_UNK23   (1 << 23)
 
#define R300_TX_MAX_MIP_LEVEL_SHIFT   26
 
#define R300_TX_MAX_MIP_LEVEL_MASK   (0xf << 26)
 
#define R300_TX_SIZE_PROJECTED   (1<<30)
 
#define R300_TX_SIZE_TXPITCH_EN   (1<<31)
 
#define R300_TX_FORMAT_0   0x44C0
 
#define R300_TX_FORMAT_X8   0x0
 
#define R300_TX_FORMAT_X16   0x1
 
#define R300_TX_FORMAT_Y4X4   0x2
 
#define R300_TX_FORMAT_Y8X8   0x3
 
#define R300_TX_FORMAT_Y16X16   0x4
 
#define R300_TX_FORMAT_Z3Y3X2   0x5
 
#define R300_TX_FORMAT_Z5Y6X5   0x6
 
#define R300_TX_FORMAT_Z6Y5X5   0x7
 
#define R300_TX_FORMAT_Z11Y11X10   0x8
 
#define R300_TX_FORMAT_Z10Y11X11   0x9
 
#define R300_TX_FORMAT_W4Z4Y4X4   0xA
 
#define R300_TX_FORMAT_W1Z5Y5X5   0xB
 
#define R300_TX_FORMAT_W8Z8Y8X8   0xC
 
#define R300_TX_FORMAT_W2Z10Y10X10   0xD
 
#define R300_TX_FORMAT_W16Z16Y16X16   0xE
 
#define R300_TX_FORMAT_DXT1   0xF
 
#define R300_TX_FORMAT_DXT3   0x10
 
#define R300_TX_FORMAT_DXT5   0x11
 
#define R300_TX_FORMAT_D3DMFT_CxV8U8   0x12 /* no swizzle */
 
#define R300_TX_FORMAT_A8R8G8B8   0x13 /* no swizzle */
 
#define R300_TX_FORMAT_B8G8_B8G8   0x14 /* no swizzle */
 
#define R300_TX_FORMAT_G8R8_G8B8   0x15 /* no swizzle */
 
#define R300_TX_FORMAT_UNK25   (1 << 25) /* no swizzle */
 
#define R300_TX_FORMAT_CUBIC_MAP   (1 << 26)
 
#define R300_TX_FORMAT_FL_I16   0x18
 
#define R300_TX_FORMAT_FL_I16A16   0x19
 
#define R300_TX_FORMAT_FL_R16G16B16A16   0x1A
 
#define R300_TX_FORMAT_FL_I32   0x1B
 
#define R300_TX_FORMAT_FL_I32A32   0x1C
 
#define R300_TX_FORMAT_FL_R32G32B32A32   0x1D
 
#define R300_TX_FORMAT_ATI2N   0x1F
 
#define R300_TX_FORMAT_ALPHA_1CH   0x000
 
#define R300_TX_FORMAT_ALPHA_2CH   0x200
 
#define R300_TX_FORMAT_ALPHA_4CH   0x600
 
#define R300_TX_FORMAT_ALPHA_NONE   0xA00
 
#define R300_TX_FORMAT_X   0
 
#define R300_TX_FORMAT_Y   1
 
#define R300_TX_FORMAT_Z   2
 
#define R300_TX_FORMAT_W   3
 
#define R300_TX_FORMAT_ZERO   4
 
#define R300_TX_FORMAT_ONE   5
 
#define R300_TX_FORMAT_CUT_Z   6
 
#define R300_TX_FORMAT_CUT_W   7
 
#define R300_TX_FORMAT_B_SHIFT   18
 
#define R300_TX_FORMAT_G_SHIFT   15
 
#define R300_TX_FORMAT_R_SHIFT   12
 
#define R300_TX_FORMAT_A_SHIFT   9
 
#define R300_EASY_TX_FORMAT(B, G, R, A, FMT)
 
#define R300_TX_FORMAT_CONST_X   (1<<5)
 
#define R300_TX_FORMAT_CONST_Y   (2<<5)
 
#define R300_TX_FORMAT_CONST_Z   (4<<5)
 
#define R300_TX_FORMAT_CONST_W   (8<<5)
 
#define R300_TX_FORMAT_YUV_MODE   0x00800000
 
#define R300_TX_PITCH_0   0x4500 /* obvious missing in gap */
 
#define R300_TX_OFFSET_0   0x4540
 
#define R300_TXO_ENDIAN_NO_SWAP   (0 << 0)
 
#define R300_TXO_ENDIAN_BYTE_SWAP   (1 << 0)
 
#define R300_TXO_ENDIAN_WORD_SWAP   (2 << 0)
 
#define R300_TXO_ENDIAN_HALFDW_SWAP   (3 << 0)
 
#define R300_TXO_MACRO_TILE   (1 << 2)
 
#define R300_TXO_MICRO_TILE   (1 << 3)
 
#define R300_TXO_MICRO_TILE_SQUARE   (2 << 3)
 
#define R300_TXO_OFFSET_MASK   0xffffffe0
 
#define R300_TXO_OFFSET_SHIFT   5
 
#define R300_TX_CHROMA_KEY_0   0x4580
 
#define R300_TX_BORDER_COLOR_0   0x45C0
 
#define R300_PFS_CNTL_0   0x4600
 
#define R300_PFS_CNTL_LAST_NODES_SHIFT   0
 
#define R300_PFS_CNTL_LAST_NODES_MASK   (3 << 0)
 
#define R300_PFS_CNTL_FIRST_NODE_HAS_TEX   (1 << 3)
 
#define R300_PFS_CNTL_1   0x4604
 
#define R300_PFS_CNTL_2   0x4608
 
#define R300_PFS_CNTL_ALU_OFFSET_SHIFT   0
 
#define R300_PFS_CNTL_ALU_OFFSET_MASK   (63 << 0)
 
#define R300_PFS_CNTL_ALU_END_SHIFT   6
 
#define R300_PFS_CNTL_ALU_END_MASK   (63 << 6)
 
#define R300_PFS_CNTL_TEX_OFFSET_SHIFT   12
 
#define R300_PFS_CNTL_TEX_OFFSET_MASK   (31 << 12) /* GUESS */
 
#define R300_PFS_CNTL_TEX_END_SHIFT   18
 
#define R300_PFS_CNTL_TEX_END_MASK   (31 << 18) /* GUESS */
 
#define R300_PFS_NODE_0   0x4610
 
#define R300_PFS_NODE_1   0x4614
 
#define R300_PFS_NODE_2   0x4618
 
#define R300_PFS_NODE_3   0x461C
 
#define R300_PFS_NODE_ALU_OFFSET_SHIFT   0
 
#define R300_PFS_NODE_ALU_OFFSET_MASK   (63 << 0)
 
#define R300_PFS_NODE_ALU_END_SHIFT   6
 
#define R300_PFS_NODE_ALU_END_MASK   (63 << 6)
 
#define R300_PFS_NODE_TEX_OFFSET_SHIFT   12
 
#define R300_PFS_NODE_TEX_OFFSET_MASK   (31 << 12)
 
#define R300_PFS_NODE_TEX_END_SHIFT   17
 
#define R300_PFS_NODE_TEX_END_MASK   (31 << 17)
 
#define R300_PFS_NODE_OUTPUT_COLOR   (1 << 22)
 
#define R300_PFS_NODE_OUTPUT_DEPTH   (1 << 23)
 
#define R300_PFS_TEXI_0   0x4620
 
#define R300_FPITX_SRC_SHIFT   0
 
#define R300_FPITX_SRC_MASK   (31 << 0)
 
#define R300_FPITX_SRC_CONST   (1 << 5)
 
#define R300_FPITX_DST_SHIFT   6
 
#define R300_FPITX_DST_MASK   (31 << 6)
 
#define R300_FPITX_IMAGE_SHIFT   11
 
#define R300_FPITX_IMAGE_MASK   (15 << 11)
 
#define R300_FPITX_OPCODE_SHIFT   15
 
#define R300_FPITX_OP_TEX   1
 
#define R300_FPITX_OP_KIL   2
 
#define R300_FPITX_OP_TXP   3
 
#define R300_FPITX_OP_TXB   4
 
#define R300_FPITX_OPCODE_MASK   (7 << 15)
 
#define R300_PFS_INSTR1_0   0x46C0
 
#define R300_FPI1_SRC0C_SHIFT   0
 
#define R300_FPI1_SRC0C_MASK   (31 << 0)
 
#define R300_FPI1_SRC0C_CONST   (1 << 5)
 
#define R300_FPI1_SRC1C_SHIFT   6
 
#define R300_FPI1_SRC1C_MASK   (31 << 6)
 
#define R300_FPI1_SRC1C_CONST   (1 << 11)
 
#define R300_FPI1_SRC2C_SHIFT   12
 
#define R300_FPI1_SRC2C_MASK   (31 << 12)
 
#define R300_FPI1_SRC2C_CONST   (1 << 17)
 
#define R300_FPI1_SRC_MASK   0x0003ffff
 
#define R300_FPI1_DSTC_SHIFT   18
 
#define R300_FPI1_DSTC_MASK   (31 << 18)
 
#define R300_FPI1_DSTC_REG_MASK_SHIFT   23
 
#define R300_FPI1_DSTC_REG_X   (1 << 23)
 
#define R300_FPI1_DSTC_REG_Y   (1 << 24)
 
#define R300_FPI1_DSTC_REG_Z   (1 << 25)
 
#define R300_FPI1_DSTC_OUTPUT_MASK_SHIFT   26
 
#define R300_FPI1_DSTC_OUTPUT_X   (1 << 26)
 
#define R300_FPI1_DSTC_OUTPUT_Y   (1 << 27)
 
#define R300_FPI1_DSTC_OUTPUT_Z   (1 << 28)
 
#define R300_PFS_INSTR3_0   0x47C0
 
#define R300_FPI3_SRC0A_SHIFT   0
 
#define R300_FPI3_SRC0A_MASK   (31 << 0)
 
#define R300_FPI3_SRC0A_CONST   (1 << 5)
 
#define R300_FPI3_SRC1A_SHIFT   6
 
#define R300_FPI3_SRC1A_MASK   (31 << 6)
 
#define R300_FPI3_SRC1A_CONST   (1 << 11)
 
#define R300_FPI3_SRC2A_SHIFT   12
 
#define R300_FPI3_SRC2A_MASK   (31 << 12)
 
#define R300_FPI3_SRC2A_CONST   (1 << 17)
 
#define R300_FPI3_SRC_MASK   0x0003ffff
 
#define R300_FPI3_DSTA_SHIFT   18
 
#define R300_FPI3_DSTA_MASK   (31 << 18)
 
#define R300_FPI3_DSTA_REG   (1 << 23)
 
#define R300_FPI3_DSTA_OUTPUT   (1 << 24)
 
#define R300_FPI3_DSTA_DEPTH   (1 << 27)
 
#define R300_PFS_INSTR0_0   0x48C0
 
#define R300_FPI0_ARGC_SRC0C_XYZ   0
 
#define R300_FPI0_ARGC_SRC0C_XXX   1
 
#define R300_FPI0_ARGC_SRC0C_YYY   2
 
#define R300_FPI0_ARGC_SRC0C_ZZZ   3
 
#define R300_FPI0_ARGC_SRC1C_XYZ   4
 
#define R300_FPI0_ARGC_SRC1C_XXX   5
 
#define R300_FPI0_ARGC_SRC1C_YYY   6
 
#define R300_FPI0_ARGC_SRC1C_ZZZ   7
 
#define R300_FPI0_ARGC_SRC2C_XYZ   8
 
#define R300_FPI0_ARGC_SRC2C_XXX   9
 
#define R300_FPI0_ARGC_SRC2C_YYY   10
 
#define R300_FPI0_ARGC_SRC2C_ZZZ   11
 
#define R300_FPI0_ARGC_SRC0A   12
 
#define R300_FPI0_ARGC_SRC1A   13
 
#define R300_FPI0_ARGC_SRC2A   14
 
#define R300_FPI0_ARGC_SRC1C_LRP   15
 
#define R300_FPI0_ARGC_ZERO   20
 
#define R300_FPI0_ARGC_ONE   21
 
#define R300_FPI0_ARGC_HALF   22
 
#define R300_FPI0_ARGC_SRC0C_YZX   23
 
#define R300_FPI0_ARGC_SRC1C_YZX   24
 
#define R300_FPI0_ARGC_SRC2C_YZX   25
 
#define R300_FPI0_ARGC_SRC0C_ZXY   26
 
#define R300_FPI0_ARGC_SRC1C_ZXY   27
 
#define R300_FPI0_ARGC_SRC2C_ZXY   28
 
#define R300_FPI0_ARGC_SRC0CA_WZY   29
 
#define R300_FPI0_ARGC_SRC1CA_WZY   30
 
#define R300_FPI0_ARGC_SRC2CA_WZY   31
 
#define R300_FPI0_ARG0C_SHIFT   0
 
#define R300_FPI0_ARG0C_MASK   (31 << 0)
 
#define R300_FPI0_ARG0C_NEG   (1 << 5)
 
#define R300_FPI0_ARG0C_ABS   (1 << 6)
 
#define R300_FPI0_ARG1C_SHIFT   7
 
#define R300_FPI0_ARG1C_MASK   (31 << 7)
 
#define R300_FPI0_ARG1C_NEG   (1 << 12)
 
#define R300_FPI0_ARG1C_ABS   (1 << 13)
 
#define R300_FPI0_ARG2C_SHIFT   14
 
#define R300_FPI0_ARG2C_MASK   (31 << 14)
 
#define R300_FPI0_ARG2C_NEG   (1 << 19)
 
#define R300_FPI0_ARG2C_ABS   (1 << 20)
 
#define R300_FPI0_SPECIAL_LRP   (1 << 21)
 
#define R300_FPI0_OUTC_MAD   (0 << 23)
 
#define R300_FPI0_OUTC_DP3   (1 << 23)
 
#define R300_FPI0_OUTC_DP4   (2 << 23)
 
#define R300_FPI0_OUTC_MIN   (4 << 23)
 
#define R300_FPI0_OUTC_MAX   (5 << 23)
 
#define R300_FPI0_OUTC_CMPH   (7 << 23)
 
#define R300_FPI0_OUTC_CMP   (8 << 23)
 
#define R300_FPI0_OUTC_FRC   (9 << 23)
 
#define R300_FPI0_OUTC_REPL_ALPHA   (10 << 23)
 
#define R300_FPI0_OUTC_SAT   (1 << 30)
 
#define R300_FPI0_INSERT_NOP   (1 << 31)
 
#define R300_PFS_INSTR2_0   0x49C0
 
#define R300_FPI2_ARGA_SRC0C_X   0
 
#define R300_FPI2_ARGA_SRC0C_Y   1
 
#define R300_FPI2_ARGA_SRC0C_Z   2
 
#define R300_FPI2_ARGA_SRC1C_X   3
 
#define R300_FPI2_ARGA_SRC1C_Y   4
 
#define R300_FPI2_ARGA_SRC1C_Z   5
 
#define R300_FPI2_ARGA_SRC2C_X   6
 
#define R300_FPI2_ARGA_SRC2C_Y   7
 
#define R300_FPI2_ARGA_SRC2C_Z   8
 
#define R300_FPI2_ARGA_SRC0A   9
 
#define R300_FPI2_ARGA_SRC1A   10
 
#define R300_FPI2_ARGA_SRC2A   11
 
#define R300_FPI2_ARGA_SRC1A_LRP   15
 
#define R300_FPI2_ARGA_ZERO   16
 
#define R300_FPI2_ARGA_ONE   17
 
#define R300_FPI2_ARGA_HALF   18
 
#define R300_FPI2_ARG0A_SHIFT   0
 
#define R300_FPI2_ARG0A_MASK   (31 << 0)
 
#define R300_FPI2_ARG0A_NEG   (1 << 5)
 
#define R300_FPI2_ARG0A_ABS   (1 << 6)
 
#define R300_FPI2_ARG1A_SHIFT   7
 
#define R300_FPI2_ARG1A_MASK   (31 << 7)
 
#define R300_FPI2_ARG1A_NEG   (1 << 12)
 
#define R300_FPI2_ARG1A_ABS   (1 << 13)
 
#define R300_FPI2_ARG2A_SHIFT   14
 
#define R300_FPI2_ARG2A_MASK   (31 << 14)
 
#define R300_FPI2_ARG2A_NEG   (1 << 19)
 
#define R300_FPI2_ARG2A_ABS   (1 << 20)
 
#define R300_FPI2_SPECIAL_LRP   (1 << 21)
 
#define R300_FPI2_OUTA_MAD   (0 << 23)
 
#define R300_FPI2_OUTA_DP4   (1 << 23)
 
#define R300_FPI2_OUTA_MIN   (2 << 23)
 
#define R300_FPI2_OUTA_MAX   (3 << 23)
 
#define R300_FPI2_OUTA_CMP   (6 << 23)
 
#define R300_FPI2_OUTA_FRC   (7 << 23)
 
#define R300_FPI2_OUTA_EX2   (8 << 23)
 
#define R300_FPI2_OUTA_LG2   (9 << 23)
 
#define R300_FPI2_OUTA_RCP   (10 << 23)
 
#define R300_FPI2_OUTA_RSQ   (11 << 23)
 
#define R300_FPI2_OUTA_SAT   (1 << 30)
 
#define R300_FPI2_UNKNOWN_31   (1 << 31)
 
#define R300_RE_FOG_STATE   0x4BC0
 
#define R300_FOG_ENABLE   (1 << 0)
 
#define R300_FOG_MODE_LINEAR   (0 << 1)
 
#define R300_FOG_MODE_EXP   (1 << 1)
 
#define R300_FOG_MODE_EXP2   (2 << 1)
 
#define R300_FOG_MODE_MASK   (3 << 1)
 
#define R300_FOG_COLOR_R   0x4BC8
 
#define R300_FOG_COLOR_G   0x4BCC
 
#define R300_FOG_COLOR_B   0x4BD0
 
#define R300_PP_ALPHA_TEST   0x4BD4
 
#define R300_REF_ALPHA_MASK   0x000000ff
 
#define R300_ALPHA_TEST_FAIL   (0 << 8)
 
#define R300_ALPHA_TEST_LESS   (1 << 8)
 
#define R300_ALPHA_TEST_LEQUAL   (3 << 8)
 
#define R300_ALPHA_TEST_EQUAL   (2 << 8)
 
#define R300_ALPHA_TEST_GEQUAL   (6 << 8)
 
#define R300_ALPHA_TEST_GREATER   (4 << 8)
 
#define R300_ALPHA_TEST_NEQUAL   (5 << 8)
 
#define R300_ALPHA_TEST_PASS   (7 << 8)
 
#define R300_ALPHA_TEST_OP_MASK   (7 << 8)
 
#define R300_ALPHA_TEST_ENABLE   (1 << 11)
 
#define R300_PFS_PARAM_0_X   0x4C00
 
#define R300_PFS_PARAM_0_Y   0x4C04
 
#define R300_PFS_PARAM_0_Z   0x4C08
 
#define R300_PFS_PARAM_0_W   0x4C0C
 
#define R300_PFS_PARAM_31_X   0x4DF0
 
#define R300_PFS_PARAM_31_Y   0x4DF4
 
#define R300_PFS_PARAM_31_Z   0x4DF8
 
#define R300_PFS_PARAM_31_W   0x4DFC
 
#define R300_RB3D_CBLEND   0x4E04
 
#define R300_RB3D_ABLEND   0x4E08
 
#define R300_BLEND_ENABLE   (1 << 0)
 
#define R300_BLEND_UNKNOWN   (3 << 1)
 
#define R300_BLEND_NO_SEPARATE   (1 << 3)
 
#define R300_FCN_MASK   (3 << 12)
 
#define R300_COMB_FCN_ADD_CLAMP   (0 << 12)
 
#define R300_COMB_FCN_ADD_NOCLAMP   (1 << 12)
 
#define R300_COMB_FCN_SUB_CLAMP   (2 << 12)
 
#define R300_COMB_FCN_SUB_NOCLAMP   (3 << 12)
 
#define R300_COMB_FCN_MIN   (4 << 12)
 
#define R300_COMB_FCN_MAX   (5 << 12)
 
#define R300_COMB_FCN_RSUB_CLAMP   (6 << 12)
 
#define R300_COMB_FCN_RSUB_NOCLAMP   (7 << 12)
 
#define R300_BLEND_GL_ZERO   (32)
 
#define R300_BLEND_GL_ONE   (33)
 
#define R300_BLEND_GL_SRC_COLOR   (34)
 
#define R300_BLEND_GL_ONE_MINUS_SRC_COLOR   (35)
 
#define R300_BLEND_GL_DST_COLOR   (36)
 
#define R300_BLEND_GL_ONE_MINUS_DST_COLOR   (37)
 
#define R300_BLEND_GL_SRC_ALPHA   (38)
 
#define R300_BLEND_GL_ONE_MINUS_SRC_ALPHA   (39)
 
#define R300_BLEND_GL_DST_ALPHA   (40)
 
#define R300_BLEND_GL_ONE_MINUS_DST_ALPHA   (41)
 
#define R300_BLEND_GL_SRC_ALPHA_SATURATE   (42)
 
#define R300_BLEND_GL_CONST_COLOR   (43)
 
#define R300_BLEND_GL_ONE_MINUS_CONST_COLOR   (44)
 
#define R300_BLEND_GL_CONST_ALPHA   (45)
 
#define R300_BLEND_GL_ONE_MINUS_CONST_ALPHA   (46)
 
#define R300_BLEND_MASK   (63)
 
#define R300_SRC_BLEND_SHIFT   (16)
 
#define R300_DST_BLEND_SHIFT   (24)
 
#define R300_RB3D_BLEND_COLOR   0x4E10
 
#define R300_RB3D_COLORMASK   0x4E0C
 
#define R300_COLORMASK0_B   (1<<0)
 
#define R300_COLORMASK0_G   (1<<1)
 
#define R300_COLORMASK0_R   (1<<2)
 
#define R300_COLORMASK0_A   (1<<3)
 
#define R300_RB3D_COLOROFFSET0   0x4E28
 
#define R300_COLOROFFSET_MASK   0xFFFFFFF0 /* GUESS */
 
#define R300_RB3D_COLOROFFSET1   0x4E2C /* GUESS */
 
#define R300_RB3D_COLOROFFSET2   0x4E30 /* GUESS */
 
#define R300_RB3D_COLOROFFSET3   0x4E34 /* GUESS */
 
#define R300_RB3D_COLORPITCH0   0x4E38
 
#define R300_COLORPITCH_MASK   0x00001FF8 /* GUESS */
 
#define R300_COLOR_TILE_ENABLE   (1 << 16) /* GUESS */
 
#define R300_COLOR_MICROTILE_ENABLE   (1 << 17) /* GUESS */
 
#define R300_COLOR_MICROTILE_SQUARE_ENABLE   (2 << 17)
 
#define R300_COLOR_ENDIAN_NO_SWAP   (0 << 18) /* GUESS */
 
#define R300_COLOR_ENDIAN_WORD_SWAP   (1 << 18) /* GUESS */
 
#define R300_COLOR_ENDIAN_DWORD_SWAP   (2 << 18) /* GUESS */
 
#define R300_COLOR_FORMAT_RGB565   (2 << 22)
 
#define R300_COLOR_FORMAT_ARGB8888   (3 << 22)
 
#define R300_RB3D_COLORPITCH1   0x4E3C /* GUESS */
 
#define R300_RB3D_COLORPITCH2   0x4E40 /* GUESS */
 
#define R300_RB3D_COLORPITCH3   0x4E44 /* GUESS */
 
#define R300_RB3D_AARESOLVE_OFFSET   0x4E80
 
#define R300_RB3D_AARESOLVE_PITCH   0x4E84
 
#define R300_RB3D_AARESOLVE_CTL   0x4E88
 
#define R300_RB3D_DSTCACHE_UNKNOWN_02   0x00000002
 
#define R300_RB3D_DSTCACHE_UNKNOWN_0A   0x0000000A
 
#define R300_ZB_CNTL   0x4F00
 
#define R300_STENCIL_ENABLE   (1 << 0)
 
#define R300_Z_ENABLE   (1 << 1)
 
#define R300_Z_WRITE_ENABLE   (1 << 2)
 
#define R300_Z_SIGNED_COMPARE   (1 << 3)
 
#define R300_STENCIL_FRONT_BACK   (1 << 4)
 
#define R300_ZB_ZSTENCILCNTL   0x4f04
 
#define R300_ZS_NEVER   0
 
#define R300_ZS_LESS   1
 
#define R300_ZS_LEQUAL   2
 
#define R300_ZS_EQUAL   3
 
#define R300_ZS_GEQUAL   4
 
#define R300_ZS_GREATER   5
 
#define R300_ZS_NOTEQUAL   6
 
#define R300_ZS_ALWAYS   7
 
#define R300_ZS_MASK   7
 
#define R300_ZS_KEEP   0
 
#define R300_ZS_ZERO   1
 
#define R300_ZS_REPLACE   2
 
#define R300_ZS_INCR   3
 
#define R300_ZS_DECR   4
 
#define R300_ZS_INVERT   5
 
#define R300_ZS_INCR_WRAP   6
 
#define R300_ZS_DECR_WRAP   7
 
#define R300_Z_FUNC_SHIFT   0
 
#define R300_S_FRONT_FUNC_SHIFT   3
 
#define R300_S_FRONT_SFAIL_OP_SHIFT   6
 
#define R300_S_FRONT_ZPASS_OP_SHIFT   9
 
#define R300_S_FRONT_ZFAIL_OP_SHIFT   12
 
#define R300_S_BACK_FUNC_SHIFT   15
 
#define R300_S_BACK_SFAIL_OP_SHIFT   18
 
#define R300_S_BACK_ZPASS_OP_SHIFT   21
 
#define R300_S_BACK_ZFAIL_OP_SHIFT   24
 
#define R300_ZB_STENCILREFMASK   0x4f08
 
#define R300_STENCILREF_SHIFT   0
 
#define R300_STENCILREF_MASK   0x000000ff
 
#define R300_STENCILMASK_SHIFT   8
 
#define R300_STENCILMASK_MASK   0x0000ff00
 
#define R300_STENCILWRITEMASK_SHIFT   16
 
#define R300_STENCILWRITEMASK_MASK   0x00ff0000
 
#define R300_ZB_FORMAT   0x4f10
 
#define R300_DEPTHFORMAT_16BIT_INT_Z   (0 << 0)
 
#define R300_DEPTHFORMAT_16BIT_13E3   (1 << 0)
 
#define R300_DEPTHFORMAT_24BIT_INT_Z_8BIT_STENCIL   (2 << 0)
 
#define R300_INVERT_13E3_LEADING_ONES   (0 << 4)
 
#define R300_INVERT_13E3_LEADING_ZEROS   (1 << 4)
 
#define R300_ZB_ZTOP   0x4F14
 
#define R300_ZTOP_DISABLE   (0 << 0)
 
#define R300_ZTOP_ENABLE   (1 << 0)
 
#define R300_ZB_ZCACHE_CTLSTAT   0x4f18
 
#define R300_ZB_ZCACHE_CTLSTAT_ZC_FLUSH_NO_EFFECT   (0 << 0)
 
#define R300_ZB_ZCACHE_CTLSTAT_ZC_FLUSH_FLUSH_AND_FREE   (1 << 0)
 
#define R300_ZB_ZCACHE_CTLSTAT_ZC_FREE_NO_EFFECT   (0 << 1)
 
#define R300_ZB_ZCACHE_CTLSTAT_ZC_FREE_FREE   (1 << 1)
 
#define R300_ZB_ZCACHE_CTLSTAT_ZC_BUSY_IDLE   (0 << 31)
 
#define R300_ZB_ZCACHE_CTLSTAT_ZC_BUSY_BUSY   (1 << 31)
 
#define R300_ZB_BW_CNTL   0x4f1c
 
#define R300_HIZ_DISABLE   (0 << 0)
 
#define R300_HIZ_ENABLE   (1 << 0)
 
#define R300_HIZ_MIN   (0 << 1)
 
#define R300_HIZ_MAX   (1 << 1)
 
#define R300_FAST_FILL_DISABLE   (0 << 2)
 
#define R300_FAST_FILL_ENABLE   (1 << 2)
 
#define R300_RD_COMP_DISABLE   (0 << 3)
 
#define R300_RD_COMP_ENABLE   (1 << 3)
 
#define R300_WR_COMP_DISABLE   (0 << 4)
 
#define R300_WR_COMP_ENABLE   (1 << 4)
 
#define R300_ZB_CB_CLEAR_RMW   (0 << 5)
 
#define R300_ZB_CB_CLEAR_CACHE_LINEAR   (1 << 5)
 
#define R300_FORCE_COMPRESSED_STENCIL_VALUE_DISABLE   (0 << 6)
 
#define R300_FORCE_COMPRESSED_STENCIL_VALUE_ENABLE   (1 << 6)
 
#define R500_ZEQUAL_OPTIMIZE_ENABLE   (0 << 7)
 
#define R500_ZEQUAL_OPTIMIZE_DISABLE   (1 << 7)
 
#define R500_SEQUAL_OPTIMIZE_ENABLE   (0 << 8)
 
#define R500_SEQUAL_OPTIMIZE_DISABLE   (1 << 8)
 
#define R500_BMASK_ENABLE   (0 << 10)
 
#define R500_BMASK_DISABLE   (1 << 10)
 
#define R500_HIZ_EQUAL_REJECT_DISABLE   (0 << 11)
 
#define R500_HIZ_EQUAL_REJECT_ENABLE   (1 << 11)
 
#define R500_HIZ_FP_EXP_BITS_DISABLE   (0 << 12)
 
#define R500_HIZ_FP_EXP_BITS_1   (1 << 12)
 
#define R500_HIZ_FP_EXP_BITS_2   (2 << 12)
 
#define R500_HIZ_FP_EXP_BITS_3   (3 << 12)
 
#define R500_HIZ_FP_EXP_BITS_4   (4 << 12)
 
#define R500_HIZ_FP_EXP_BITS_5   (5 << 12)
 
#define R500_HIZ_FP_INVERT_LEADING_ONES   (0 << 15)
 
#define R500_HIZ_FP_INVERT_LEADING_ZEROS   (1 << 15)
 
#define R500_TILE_OVERWRITE_RECOMPRESSION_ENABLE   (0 << 16)
 
#define R500_TILE_OVERWRITE_RECOMPRESSION_DISABLE   (1 << 16)
 
#define R500_CONTIGUOUS_6XAA_SAMPLES_ENABLE   (0 << 17)
 
#define R500_CONTIGUOUS_6XAA_SAMPLES_DISABLE   (1 << 17)
 
#define R500_PEQ_PACKING_DISABLE   (0 << 18)
 
#define R500_PEQ_PACKING_ENABLE   (1 << 18)
 
#define R500_COVERED_PTR_MASKING_DISABLE   (0 << 18)
 
#define R500_COVERED_PTR_MASKING_ENABLE   (1 << 18)
 
#define R300_ZB_DEPTHOFFSET   0x4f20
 
#define R300_ZB_DEPTHPITCH   0x4f24
 
#define R300_DEPTHPITCH_MASK   0x00003FFC
 
#define R300_DEPTHMACROTILE_DISABLE   (0 << 16)
 
#define R300_DEPTHMACROTILE_ENABLE   (1 << 16)
 
#define R300_DEPTHMICROTILE_LINEAR   (0 << 17)
 
#define R300_DEPTHMICROTILE_TILED   (1 << 17)
 
#define R300_DEPTHMICROTILE_TILED_SQUARE   (2 << 17)
 
#define R300_DEPTHENDIAN_NO_SWAP   (0 << 18)
 
#define R300_DEPTHENDIAN_WORD_SWAP   (1 << 18)
 
#define R300_DEPTHENDIAN_DWORD_SWAP   (2 << 18)
 
#define R300_DEPTHENDIAN_HALF_DWORD_SWAP   (3 << 18)
 
#define R300_ZB_DEPTHCLEARVALUE   0x4f28
 
#define R300_ZB_ZMASK_OFFSET   0x4f30
 
#define R300_ZB_ZMASK_PITCH   0x4f34
 
#define R300_ZB_ZMASK_WRINDEX   0x4f38
 
#define R300_ZB_ZMASK_DWORD   0x4f3c
 
#define R300_ZB_ZMASK_RDINDEX   0x4f40
 
#define R300_ZB_HIZ_OFFSET   0x4f44
 
#define R300_ZB_HIZ_WRINDEX   0x4f48
 
#define R300_ZB_HIZ_DWORD   0x4f4c
 
#define R300_ZB_HIZ_RDINDEX   0x4f50
 
#define R300_ZB_HIZ_PITCH   0x4f54
 
#define R300_ZB_ZPASS_DATA   0x4f58
 
#define R300_ZB_ZPASS_ADDR   0x4f5c
 
#define R300_ZB_DEPTHXY_OFFSET   0x4f60
 
#define R300_DEPTHX_OFFSET_SHIFT   1
 
#define R300_DEPTHX_OFFSET_MASK   0x000007FE
 
#define R300_DEPTHY_OFFSET_SHIFT   17
 
#define R300_DEPTHY_OFFSET_MASK   0x07FE0000
 
#define R500_ZB_FIFO_SIZE   0x4fd0
 
#define R500_OP_FIFO_SIZE_FULL   (0 << 0)
 
#define R500_OP_FIFO_SIZE_HALF   (1 << 0)
 
#define R500_OP_FIFO_SIZE_QUATER   (2 << 0)
 
#define R500_OP_FIFO_SIZE_EIGTHS   (4 << 0)
 
#define R500_ZB_STENCILREFMASK_BF   0x4fd4
 
#define R500_STENCILREF_SHIFT   0
 
#define R500_STENCILREF_MASK   0x000000ff
 
#define R500_STENCILMASK_SHIFT   8
 
#define R500_STENCILMASK_MASK   0x0000ff00
 
#define R500_STENCILWRITEMASK_SHIFT   16
 
#define R500_STENCILWRITEMASK_MASK   0x00ff0000
 
#define R300_VPI_OUT_OP_DOT   (1 << 0)
 
#define R300_VPI_OUT_OP_MUL   (2 << 0)
 
#define R300_VPI_OUT_OP_ADD   (3 << 0)
 
#define R300_VPI_OUT_OP_MAD   (4 << 0)
 
#define R300_VPI_OUT_OP_DST   (5 << 0)
 
#define R300_VPI_OUT_OP_FRC   (6 << 0)
 
#define R300_VPI_OUT_OP_MAX   (7 << 0)
 
#define R300_VPI_OUT_OP_MIN   (8 << 0)
 
#define R300_VPI_OUT_OP_SGE   (9 << 0)
 
#define R300_VPI_OUT_OP_SLT   (10 << 0)
 
#define R300_VPI_OUT_OP_UNK12   (12 << 0)
 
#define R300_VPI_OUT_OP_ARL   (13 << 0)
 
#define R300_VPI_OUT_OP_EXP   (65 << 0)
 
#define R300_VPI_OUT_OP_LOG   (66 << 0)
 
#define R300_VPI_OUT_OP_UNK67   (67 << 0)
 
#define R300_VPI_OUT_OP_LIT   (68 << 0)
 
#define R300_VPI_OUT_OP_POW   (69 << 0)
 
#define R300_VPI_OUT_OP_RCP   (70 << 0)
 
#define R300_VPI_OUT_OP_RSQ   (72 << 0)
 
#define R300_VPI_OUT_OP_UNK73   (73 << 0)
 
#define R300_VPI_OUT_OP_EX2   (75 << 0)
 
#define R300_VPI_OUT_OP_LG2   (76 << 0)
 
#define R300_VPI_OUT_OP_MAD_2   (128 << 0)
 
#define R300_VPI_OUT_OP_UNK129   (129 << 0)
 
#define R300_VPI_OUT_REG_CLASS_TEMPORARY   (0 << 8)
 
#define R300_VPI_OUT_REG_CLASS_ADDR   (1 << 8)
 
#define R300_VPI_OUT_REG_CLASS_RESULT   (2 << 8)
 
#define R300_VPI_OUT_REG_CLASS_MASK   (31 << 8)
 
#define R300_VPI_OUT_REG_INDEX_SHIFT   13
 
#define R300_VPI_OUT_REG_INDEX_MASK   (31 << 13)
 
#define R300_VPI_OUT_WRITE_X   (1 << 20)
 
#define R300_VPI_OUT_WRITE_Y   (1 << 21)
 
#define R300_VPI_OUT_WRITE_Z   (1 << 22)
 
#define R300_VPI_OUT_WRITE_W   (1 << 23)
 
#define R300_VPI_IN_REG_CLASS_TEMPORARY   (0 << 0)
 
#define R300_VPI_IN_REG_CLASS_ATTRIBUTE   (1 << 0)
 
#define R300_VPI_IN_REG_CLASS_PARAMETER   (2 << 0)
 
#define R300_VPI_IN_REG_CLASS_NONE   (9 << 0)
 
#define R300_VPI_IN_REG_CLASS_MASK   (31 << 0)
 
#define R300_VPI_IN_REG_INDEX_SHIFT   5
 
#define R300_VPI_IN_REG_INDEX_MASK   (255 << 5)
 
#define R300_VPI_IN_SELECT_X   0
 
#define R300_VPI_IN_SELECT_Y   1
 
#define R300_VPI_IN_SELECT_Z   2
 
#define R300_VPI_IN_SELECT_W   3
 
#define R300_VPI_IN_SELECT_ZERO   4
 
#define R300_VPI_IN_SELECT_ONE   5
 
#define R300_VPI_IN_SELECT_MASK   7
 
#define R300_VPI_IN_X_SHIFT   13
 
#define R300_VPI_IN_Y_SHIFT   16
 
#define R300_VPI_IN_Z_SHIFT   19
 
#define R300_VPI_IN_W_SHIFT   22
 
#define R300_VPI_IN_NEG_X   (1 << 25)
 
#define R300_VPI_IN_NEG_Y   (1 << 26)
 
#define R300_VPI_IN_NEG_Z   (1 << 27)
 
#define R300_VPI_IN_NEG_W   (1 << 28)
 
#define R300_PRIM_TYPE_NONE   (0 << 0)
 
#define R300_PRIM_TYPE_POINT   (1 << 0)
 
#define R300_PRIM_TYPE_LINE   (2 << 0)
 
#define R300_PRIM_TYPE_LINE_STRIP   (3 << 0)
 
#define R300_PRIM_TYPE_TRI_LIST   (4 << 0)
 
#define R300_PRIM_TYPE_TRI_FAN   (5 << 0)
 
#define R300_PRIM_TYPE_TRI_STRIP   (6 << 0)
 
#define R300_PRIM_TYPE_TRI_TYPE2   (7 << 0)
 
#define R300_PRIM_TYPE_RECT_LIST   (8 << 0)
 
#define R300_PRIM_TYPE_3VRT_POINT_LIST   (9 << 0)
 
#define R300_PRIM_TYPE_3VRT_LINE_LIST   (10 << 0)
 
#define R300_PRIM_TYPE_POINT_SPRITES   (11 << 0)
 
#define R300_PRIM_TYPE_LINE_LOOP   (12 << 0)
 
#define R300_PRIM_TYPE_QUADS   (13 << 0)
 
#define R300_PRIM_TYPE_QUAD_STRIP   (14 << 0)
 
#define R300_PRIM_TYPE_POLYGON   (15 << 0)
 
#define R300_PRIM_TYPE_MASK   0xF
 
#define R300_PRIM_WALK_IND   (1 << 4)
 
#define R300_PRIM_WALK_LIST   (2 << 4)
 
#define R300_PRIM_WALK_RING   (3 << 4)
 
#define R300_PRIM_WALK_MASK   (3 << 4)
 
#define R300_PRIM_COLOR_ORDER_BGRA   (0 << 6)
 
#define R300_PRIM_COLOR_ORDER_RGBA   (1 << 6)
 
#define R300_PRIM_NUM_VERTICES_SHIFT   16
 
#define R300_PRIM_NUM_VERTICES_MASK   0xffff
 
#define R300_PACKET3_3D_DRAW_VBUF   0x00002800
 
#define R300_PACKET3_3D_LOAD_VBPNTR   0x00002F00
 
#define R300_PACKET3_INDX_BUFFER   0x00003300
 
#define R300_EB_UNK1_SHIFT   24
 
#define R300_EB_UNK1   (0x80<<24)
 
#define R300_EB_UNK2   0x0810
 
#define R300_PACKET3_3D_DRAW_VBUF_2   0x00003400
 
#define R300_PACKET3_3D_DRAW_INDX_2   0x00003600
 
#define R300_CP_COLOR_FORMAT_CI8   2
 
#define R300_CP_COLOR_FORMAT_ARGB1555   3
 
#define R300_CP_COLOR_FORMAT_RGB565   4
 
#define R300_CP_COLOR_FORMAT_ARGB8888   6
 
#define R300_CP_COLOR_FORMAT_RGB332   7
 
#define R300_CP_COLOR_FORMAT_RGB8   9
 
#define R300_CP_COLOR_FORMAT_ARGB4444   15
 
#define R300_CP_CMD_BITBLT_MULTI   0xC0009B00
 
#define R500_VAP_INDEX_OFFSET   0x208c
 
#define R500_GA_US_VECTOR_INDEX   0x4250
 
#define R500_GA_US_VECTOR_DATA   0x4254
 
#define R500_RS_IP_0   0x4074
 
#define R500_RS_INST_0   0x4320
 
#define R500_US_CONFIG   0x4600
 
#define R500_US_FC_CTRL   0x4624
 
#define R500_US_CODE_ADDR   0x4630
 
#define R500_RB3D_COLOR_CLEAR_VALUE_AR   0x46c0
 
#define R500_RB3D_CONSTANT_COLOR_AR   0x4ef8
 
#define R300_SU_REG_DEST   0x42c8
 
#define RV530_FG_ZBREG_DEST   0x4be8
 
#define R300_ZB_ZPASS_DATA   0x4f58
 
#define R300_ZB_ZPASS_ADDR   0x4f5c
 

Macro Definition Documentation

#define R300_221C_CLEAR   0x0001C000

Definition at line 305 of file r300_reg.h.

#define R300_221C_NORMAL   0x00000000

Definition at line 304 of file r300_reg.h.

#define R300_2288_R300   0x00750000 /* -- nh */

Definition at line 330 of file r300_reg.h.

#define R300_2288_RV350   0x0000FFFF /* -- Vladimir */

Definition at line 331 of file r300_reg.h.

#define R300_AA_DISABLE   0x00

Definition at line 512 of file r300_reg.h.

#define R300_AA_ENABLE   0x01

Definition at line 513 of file r300_reg.h.

#define R300_AA_SUBSAMPLES_2   0

Definition at line 514 of file r300_reg.h.

#define R300_AA_SUBSAMPLES_3   (1<<1)

Definition at line 515 of file r300_reg.h.

#define R300_AA_SUBSAMPLES_4   (2<<1)

Definition at line 516 of file r300_reg.h.

#define R300_AA_SUBSAMPLES_6   (3<<1)

Definition at line 517 of file r300_reg.h.

#define R300_ALPHA_TEST_ENABLE   (1 << 11)

Definition at line 1282 of file r300_reg.h.

#define R300_ALPHA_TEST_EQUAL   (2 << 8)

Definition at line 1276 of file r300_reg.h.

#define R300_ALPHA_TEST_FAIL   (0 << 8)

Definition at line 1273 of file r300_reg.h.

#define R300_ALPHA_TEST_GEQUAL   (6 << 8)

Definition at line 1277 of file r300_reg.h.

#define R300_ALPHA_TEST_GREATER   (4 << 8)

Definition at line 1278 of file r300_reg.h.

#define R300_ALPHA_TEST_LEQUAL   (3 << 8)

Definition at line 1275 of file r300_reg.h.

#define R300_ALPHA_TEST_LESS   (1 << 8)

Definition at line 1274 of file r300_reg.h.

#define R300_ALPHA_TEST_NEQUAL   (5 << 8)

Definition at line 1279 of file r300_reg.h.

#define R300_ALPHA_TEST_OP_MASK   (7 << 8)

Definition at line 1281 of file r300_reg.h.

#define R300_ALPHA_TEST_PASS   (7 << 8)

Definition at line 1280 of file r300_reg.h.

#define R300_ANISO_THRESHOLD_MASK   (7<<17)

Definition at line 851 of file r300_reg.h.

#define R300_BLEND_ENABLE   (1 << 0)

Definition at line 1308 of file r300_reg.h.

#define R300_BLEND_GL_CONST_ALPHA   (45)

Definition at line 1334 of file r300_reg.h.

#define R300_BLEND_GL_CONST_COLOR   (43)

Definition at line 1332 of file r300_reg.h.

#define R300_BLEND_GL_DST_ALPHA   (40)

Definition at line 1329 of file r300_reg.h.

#define R300_BLEND_GL_DST_COLOR   (36)

Definition at line 1325 of file r300_reg.h.

#define R300_BLEND_GL_ONE   (33)

Definition at line 1322 of file r300_reg.h.

#define R300_BLEND_GL_ONE_MINUS_CONST_ALPHA   (46)

Definition at line 1335 of file r300_reg.h.

#define R300_BLEND_GL_ONE_MINUS_CONST_COLOR   (44)

Definition at line 1333 of file r300_reg.h.

#define R300_BLEND_GL_ONE_MINUS_DST_ALPHA   (41)

Definition at line 1330 of file r300_reg.h.

#define R300_BLEND_GL_ONE_MINUS_DST_COLOR   (37)

Definition at line 1326 of file r300_reg.h.

#define R300_BLEND_GL_ONE_MINUS_SRC_ALPHA   (39)

Definition at line 1328 of file r300_reg.h.

#define R300_BLEND_GL_ONE_MINUS_SRC_COLOR   (35)

Definition at line 1324 of file r300_reg.h.

#define R300_BLEND_GL_SRC_ALPHA   (38)

Definition at line 1327 of file r300_reg.h.

#define R300_BLEND_GL_SRC_ALPHA_SATURATE   (42)

Definition at line 1331 of file r300_reg.h.

#define R300_BLEND_GL_SRC_COLOR   (34)

Definition at line 1323 of file r300_reg.h.

#define R300_BLEND_GL_ZERO   (32)

Definition at line 1321 of file r300_reg.h.

#define R300_BLEND_MASK   (63)

Definition at line 1336 of file r300_reg.h.

#define R300_BLEND_NO_SEPARATE   (1 << 3)

Definition at line 1310 of file r300_reg.h.

#define R300_BLEND_UNKNOWN   (3 << 1)

Definition at line 1309 of file r300_reg.h.

#define R300_CHROMA_KEY_BLEND   2

Definition at line 839 of file r300_reg.h.

#define R300_CHROMA_KEY_FORCE   1

Definition at line 838 of file r300_reg.h.

#define R300_CHROMA_KEY_MODE_DISABLE   0

Definition at line 837 of file r300_reg.h.

#define R300_CLIP_0   (1 << 1)

Definition at line 764 of file r300_reg.h.

#define R300_CLIP_1   (1 << 2)

Definition at line 765 of file r300_reg.h.

#define R300_CLIP_10   (1 << 3)

Definition at line 766 of file r300_reg.h.

#define R300_CLIP_2   (1 << 4)

Definition at line 767 of file r300_reg.h.

#define R300_CLIP_20   (1 << 5)

Definition at line 768 of file r300_reg.h.

#define R300_CLIP_21   (1 << 6)

Definition at line 769 of file r300_reg.h.

#define R300_CLIP_210   (1 << 7)

Definition at line 770 of file r300_reg.h.

#define R300_CLIP_3   (1 << 8)

Definition at line 771 of file r300_reg.h.

#define R300_CLIP_30   (1 << 9)

Definition at line 772 of file r300_reg.h.

#define R300_CLIP_31   (1 << 10)

Definition at line 773 of file r300_reg.h.

#define R300_CLIP_310   (1 << 11)

Definition at line 774 of file r300_reg.h.

#define R300_CLIP_32   (1 << 12)

Definition at line 775 of file r300_reg.h.

#define R300_CLIP_320   (1 << 13)

Definition at line 776 of file r300_reg.h.

#define R300_CLIP_321   (1 << 14)

Definition at line 777 of file r300_reg.h.

#define R300_CLIP_3210   (1 << 15)

Definition at line 778 of file r300_reg.h.

#define R300_CLIP_OUT   (1 << 0)

Definition at line 763 of file r300_reg.h.

#define R300_CLIPRECT_MASK   0x1FFF

Definition at line 757 of file r300_reg.h.

#define R300_CLIPRECT_OFFSET   1440

Definition at line 756 of file r300_reg.h.

#define R300_CLIPRECT_X_MASK   (0x1FFF << 0)

Definition at line 759 of file r300_reg.h.

#define R300_CLIPRECT_X_SHIFT   0

Definition at line 758 of file r300_reg.h.

#define R300_CLIPRECT_Y_MASK   (0x1FFF << 13)

Definition at line 761 of file r300_reg.h.

#define R300_CLIPRECT_Y_SHIFT   13

Definition at line 760 of file r300_reg.h.

#define R300_COLOR_ENDIAN_DWORD_SWAP   (2 << 18) /* GUESS */

Definition at line 1367 of file r300_reg.h.

#define R300_COLOR_ENDIAN_NO_SWAP   (0 << 18) /* GUESS */

Definition at line 1365 of file r300_reg.h.

#define R300_COLOR_ENDIAN_WORD_SWAP   (1 << 18) /* GUESS */

Definition at line 1366 of file r300_reg.h.

#define R300_COLOR_FORMAT_ARGB8888   (3 << 22)

Definition at line 1369 of file r300_reg.h.

#define R300_COLOR_FORMAT_RGB565   (2 << 22)

Definition at line 1368 of file r300_reg.h.

#define R300_COLOR_MICROTILE_ENABLE   (1 << 17) /* GUESS */

Definition at line 1363 of file r300_reg.h.

#define R300_COLOR_MICROTILE_SQUARE_ENABLE   (2 << 17)

Definition at line 1364 of file r300_reg.h.

#define R300_COLOR_TILE_ENABLE   (1 << 16) /* GUESS */

Definition at line 1362 of file r300_reg.h.

#define R300_COLORMASK0_A   (1<<3)

Definition at line 1344 of file r300_reg.h.

#define R300_COLORMASK0_B   (1<<0)

Definition at line 1341 of file r300_reg.h.

#define R300_COLORMASK0_G   (1<<1)

Definition at line 1342 of file r300_reg.h.

#define R300_COLORMASK0_R   (1<<2)

Definition at line 1343 of file r300_reg.h.

#define R300_COLOROFFSET_MASK   0xFFFFFFF0 /* GUESS */

Definition at line 1349 of file r300_reg.h.

#define R300_COLORPITCH_MASK   0x00001FF8 /* GUESS */

Definition at line 1361 of file r300_reg.h.

#define R300_COMB_FCN_ADD_CLAMP   (0 << 12)

Definition at line 1313 of file r300_reg.h.

#define R300_COMB_FCN_ADD_NOCLAMP   (1 << 12)

Definition at line 1314 of file r300_reg.h.

#define R300_COMB_FCN_MAX   (5 << 12)

Definition at line 1318 of file r300_reg.h.

#define R300_COMB_FCN_MIN   (4 << 12)

Definition at line 1317 of file r300_reg.h.

#define R300_COMB_FCN_RSUB_CLAMP   (6 << 12)

Definition at line 1319 of file r300_reg.h.

#define R300_COMB_FCN_RSUB_NOCLAMP   (7 << 12)

Definition at line 1320 of file r300_reg.h.

#define R300_COMB_FCN_SUB_CLAMP   (2 << 12)

Definition at line 1315 of file r300_reg.h.

#define R300_COMB_FCN_SUB_NOCLAMP   (3 << 12)

Definition at line 1316 of file r300_reg.h.

#define R300_CP_CMD_BITBLT_MULTI   0xC0009B00

Definition at line 1766 of file r300_reg.h.

#define R300_CP_COLOR_FORMAT_ARGB1555   3

Definition at line 1756 of file r300_reg.h.

#define R300_CP_COLOR_FORMAT_ARGB4444   15

Definition at line 1761 of file r300_reg.h.

#define R300_CP_COLOR_FORMAT_ARGB8888   6

Definition at line 1758 of file r300_reg.h.

#define R300_CP_COLOR_FORMAT_CI8   2

Definition at line 1755 of file r300_reg.h.

#define R300_CP_COLOR_FORMAT_RGB332   7

Definition at line 1759 of file r300_reg.h.

#define R300_CP_COLOR_FORMAT_RGB565   4

Definition at line 1757 of file r300_reg.h.

#define R300_CP_COLOR_FORMAT_RGB8   9

Definition at line 1760 of file r300_reg.h.

#define R300_CUBE_FIFO_HIGHWATER_COL_SHIFT   24

Definition at line 497 of file r300_reg.h.

#define R300_CULL_BACK   (1 << 1)

Definition at line 618 of file r300_reg.h.

#define R300_CULL_FRONT   (1 << 0)

Definition at line 617 of file r300_reg.h.

#define R300_DEPTHENDIAN_DWORD_SWAP   (2 << 18)

Definition at line 1522 of file r300_reg.h.

#define R300_DEPTHENDIAN_HALF_DWORD_SWAP   (3 << 18)

Definition at line 1523 of file r300_reg.h.

#define R300_DEPTHENDIAN_NO_SWAP   (0 << 18)

Definition at line 1520 of file r300_reg.h.

#define R300_DEPTHENDIAN_WORD_SWAP   (1 << 18)

Definition at line 1521 of file r300_reg.h.

#define R300_DEPTHFORMAT_16BIT_13E3   (1 << 0)

Definition at line 1442 of file r300_reg.h.

#define R300_DEPTHFORMAT_16BIT_INT_Z   (0 << 0)

Definition at line 1441 of file r300_reg.h.

#define R300_DEPTHFORMAT_24BIT_INT_Z_8BIT_STENCIL   (2 << 0)

Definition at line 1443 of file r300_reg.h.

#define R300_DEPTHMACROTILE_DISABLE   (0 << 16)

Definition at line 1515 of file r300_reg.h.

#define R300_DEPTHMACROTILE_ENABLE   (1 << 16)

Definition at line 1516 of file r300_reg.h.

#define R300_DEPTHMICROTILE_LINEAR   (0 << 17)

Definition at line 1517 of file r300_reg.h.

#define R300_DEPTHMICROTILE_TILED   (1 << 17)

Definition at line 1518 of file r300_reg.h.

#define R300_DEPTHMICROTILE_TILED_SQUARE   (2 << 17)

Definition at line 1519 of file r300_reg.h.

#define R300_DEPTHPITCH_MASK   0x00003FFC

Definition at line 1514 of file r300_reg.h.

#define R300_DEPTHX_OFFSET_MASK   0x000007FE

Definition at line 1558 of file r300_reg.h.

#define R300_DEPTHX_OFFSET_SHIFT   1

Definition at line 1557 of file r300_reg.h.

#define R300_DEPTHY_OFFSET_MASK   0x07FE0000

Definition at line 1560 of file r300_reg.h.

#define R300_DEPTHY_OFFSET_SHIFT   17

Definition at line 1559 of file r300_reg.h.

#define R300_DST_BLEND_SHIFT   (24)

Definition at line 1338 of file r300_reg.h.

#define R300_EASY_TX_FORMAT (   B,
  G,
  R,
  A,
  FMT 
)
Value:
( \
((R300_TX_FORMAT_##B)<<R300_TX_FORMAT_B_SHIFT) \
| ((R300_TX_FORMAT_##G)<<R300_TX_FORMAT_G_SHIFT) \
| ((R300_TX_FORMAT_##R)<<R300_TX_FORMAT_R_SHIFT) \
| ((R300_TX_FORMAT_##A)<<R300_TX_FORMAT_A_SHIFT) \
| (R300_TX_FORMAT_##FMT) \
)

Definition at line 929 of file r300_reg.h.

#define R300_EB_UNK1   (0x80<<24)

Definition at line 1745 of file r300_reg.h.

#define R300_EB_UNK1_SHIFT   24

Definition at line 1744 of file r300_reg.h.

#define R300_EB_UNK2   0x0810

Definition at line 1746 of file r300_reg.h.

#define R300_EDGE_ANISO_EDGE_DIAG   (0<<13)

Definition at line 843 of file r300_reg.h.

#define R300_EDGE_ANISO_EDGE_ONLY   (1<<13)

Definition at line 844 of file r300_reg.h.

#define R300_FAST_FILL_DISABLE   (0 << 2)

Definition at line 1467 of file r300_reg.h.

#define R300_FAST_FILL_ENABLE   (1 << 2)

Definition at line 1468 of file r300_reg.h.

#define R300_FCN_MASK   (3 << 12)

Definition at line 1312 of file r300_reg.h.

#define R300_FOG_COLOR_B   0x4BD0

Definition at line 1269 of file r300_reg.h.

#define R300_FOG_COLOR_G   0x4BCC

Definition at line 1268 of file r300_reg.h.

#define R300_FOG_COLOR_R   0x4BC8

Definition at line 1267 of file r300_reg.h.

#define R300_FOG_ENABLE   (1 << 0)

Definition at line 1262 of file r300_reg.h.

#define R300_FOG_MODE_EXP   (1 << 1)

Definition at line 1264 of file r300_reg.h.

#define R300_FOG_MODE_EXP2   (2 << 1)

Definition at line 1265 of file r300_reg.h.

#define R300_FOG_MODE_LINEAR   (0 << 1)

Definition at line 1263 of file r300_reg.h.

#define R300_FOG_MODE_MASK   (3 << 1)

Definition at line 1266 of file r300_reg.h.

#define R300_FORCE_COMPRESSED_STENCIL_VALUE_DISABLE   (0 << 6)

Definition at line 1475 of file r300_reg.h.

#define R300_FORCE_COMPRESSED_STENCIL_VALUE_ENABLE   (1 << 6)

Definition at line 1476 of file r300_reg.h.

#define R300_FPI0_ARG0C_ABS   (1 << 6)

Definition at line 1190 of file r300_reg.h.

#define R300_FPI0_ARG0C_MASK   (31 << 0)

Definition at line 1188 of file r300_reg.h.

#define R300_FPI0_ARG0C_NEG   (1 << 5)

Definition at line 1189 of file r300_reg.h.

#define R300_FPI0_ARG0C_SHIFT   0

Definition at line 1187 of file r300_reg.h.

#define R300_FPI0_ARG1C_ABS   (1 << 13)

Definition at line 1194 of file r300_reg.h.

#define R300_FPI0_ARG1C_MASK   (31 << 7)

Definition at line 1192 of file r300_reg.h.

#define R300_FPI0_ARG1C_NEG   (1 << 12)

Definition at line 1193 of file r300_reg.h.

#define R300_FPI0_ARG1C_SHIFT   7

Definition at line 1191 of file r300_reg.h.

#define R300_FPI0_ARG2C_ABS   (1 << 20)

Definition at line 1198 of file r300_reg.h.

#define R300_FPI0_ARG2C_MASK   (31 << 14)

Definition at line 1196 of file r300_reg.h.

#define R300_FPI0_ARG2C_NEG   (1 << 19)

Definition at line 1197 of file r300_reg.h.

#define R300_FPI0_ARG2C_SHIFT   14

Definition at line 1195 of file r300_reg.h.

#define R300_FPI0_ARGC_HALF   22

Definition at line 1176 of file r300_reg.h.

#define R300_FPI0_ARGC_ONE   21

Definition at line 1174 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0A   12

Definition at line 1169 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0C_XXX   1

Definition at line 1158 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0C_XYZ   0

Definition at line 1157 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0C_YYY   2

Definition at line 1159 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0C_YZX   23

Definition at line 1177 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0C_ZXY   26

Definition at line 1180 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0C_ZZZ   3

Definition at line 1160 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC0CA_WZY   29

Definition at line 1183 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1A   13

Definition at line 1170 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1C_LRP   15

Definition at line 1172 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1C_XXX   5

Definition at line 1162 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1C_XYZ   4

Definition at line 1161 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1C_YYY   6

Definition at line 1163 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1C_YZX   24

Definition at line 1178 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1C_ZXY   27

Definition at line 1181 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1C_ZZZ   7

Definition at line 1164 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC1CA_WZY   30

Definition at line 1184 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2A   14

Definition at line 1171 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2C_XXX   9

Definition at line 1166 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2C_XYZ   8

Definition at line 1165 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2C_YYY   10

Definition at line 1167 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2C_YZX   25

Definition at line 1179 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2C_ZXY   28

Definition at line 1182 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2C_ZZZ   11

Definition at line 1168 of file r300_reg.h.

#define R300_FPI0_ARGC_SRC2CA_WZY   31

Definition at line 1185 of file r300_reg.h.

#define R300_FPI0_ARGC_ZERO   20

Definition at line 1173 of file r300_reg.h.

#define R300_FPI0_INSERT_NOP   (1 << 31)

Definition at line 1210 of file r300_reg.h.

#define R300_FPI0_OUTC_CMP   (8 << 23)

Definition at line 1206 of file r300_reg.h.

#define R300_FPI0_OUTC_CMPH   (7 << 23)

Definition at line 1205 of file r300_reg.h.

#define R300_FPI0_OUTC_DP3   (1 << 23)

Definition at line 1201 of file r300_reg.h.

#define R300_FPI0_OUTC_DP4   (2 << 23)

Definition at line 1202 of file r300_reg.h.

#define R300_FPI0_OUTC_FRC   (9 << 23)

Definition at line 1207 of file r300_reg.h.

#define R300_FPI0_OUTC_MAD   (0 << 23)

Definition at line 1200 of file r300_reg.h.

#define R300_FPI0_OUTC_MAX   (5 << 23)

Definition at line 1204 of file r300_reg.h.

#define R300_FPI0_OUTC_MIN   (4 << 23)

Definition at line 1203 of file r300_reg.h.

#define R300_FPI0_OUTC_REPL_ALPHA   (10 << 23)

Definition at line 1208 of file r300_reg.h.

#define R300_FPI0_OUTC_SAT   (1 << 30)

Definition at line 1209 of file r300_reg.h.

#define R300_FPI0_SPECIAL_LRP   (1 << 21)

Definition at line 1199 of file r300_reg.h.

#define R300_FPI1_DSTC_MASK   (31 << 18)

Definition at line 1129 of file r300_reg.h.

#define R300_FPI1_DSTC_OUTPUT_MASK_SHIFT   26

Definition at line 1134 of file r300_reg.h.

#define R300_FPI1_DSTC_OUTPUT_X   (1 << 26)

Definition at line 1135 of file r300_reg.h.

#define R300_FPI1_DSTC_OUTPUT_Y   (1 << 27)

Definition at line 1136 of file r300_reg.h.

#define R300_FPI1_DSTC_OUTPUT_Z   (1 << 28)

Definition at line 1137 of file r300_reg.h.

#define R300_FPI1_DSTC_REG_MASK_SHIFT   23

Definition at line 1130 of file r300_reg.h.

#define R300_FPI1_DSTC_REG_X   (1 << 23)

Definition at line 1131 of file r300_reg.h.

#define R300_FPI1_DSTC_REG_Y   (1 << 24)

Definition at line 1132 of file r300_reg.h.

#define R300_FPI1_DSTC_REG_Z   (1 << 25)

Definition at line 1133 of file r300_reg.h.

#define R300_FPI1_DSTC_SHIFT   18

Definition at line 1128 of file r300_reg.h.

#define R300_FPI1_SRC0C_CONST   (1 << 5)

Definition at line 1120 of file r300_reg.h.

#define R300_FPI1_SRC0C_MASK   (31 << 0)

Definition at line 1119 of file r300_reg.h.

#define R300_FPI1_SRC0C_SHIFT   0

Definition at line 1118 of file r300_reg.h.

#define R300_FPI1_SRC1C_CONST   (1 << 11)

Definition at line 1123 of file r300_reg.h.

#define R300_FPI1_SRC1C_MASK   (31 << 6)

Definition at line 1122 of file r300_reg.h.

#define R300_FPI1_SRC1C_SHIFT   6

Definition at line 1121 of file r300_reg.h.

#define R300_FPI1_SRC2C_CONST   (1 << 17)

Definition at line 1126 of file r300_reg.h.

#define R300_FPI1_SRC2C_MASK   (31 << 12)

Definition at line 1125 of file r300_reg.h.

#define R300_FPI1_SRC2C_SHIFT   12

Definition at line 1124 of file r300_reg.h.

#define R300_FPI1_SRC_MASK   0x0003ffff

Definition at line 1127 of file r300_reg.h.

#define R300_FPI2_ARG0A_ABS   (1 << 6)

Definition at line 1234 of file r300_reg.h.

#define R300_FPI2_ARG0A_MASK   (31 << 0)

Definition at line 1231 of file r300_reg.h.

#define R300_FPI2_ARG0A_NEG   (1 << 5)

Definition at line 1232 of file r300_reg.h.

#define R300_FPI2_ARG0A_SHIFT   0

Definition at line 1230 of file r300_reg.h.

#define R300_FPI2_ARG1A_ABS   (1 << 13)

Definition at line 1239 of file r300_reg.h.

#define R300_FPI2_ARG1A_MASK   (31 << 7)

Definition at line 1236 of file r300_reg.h.

#define R300_FPI2_ARG1A_NEG   (1 << 12)

Definition at line 1237 of file r300_reg.h.

#define R300_FPI2_ARG1A_SHIFT   7

Definition at line 1235 of file r300_reg.h.

#define R300_FPI2_ARG2A_ABS   (1 << 20)

Definition at line 1244 of file r300_reg.h.

#define R300_FPI2_ARG2A_MASK   (31 << 14)

Definition at line 1241 of file r300_reg.h.

#define R300_FPI2_ARG2A_NEG   (1 << 19)

Definition at line 1242 of file r300_reg.h.

#define R300_FPI2_ARG2A_SHIFT   14

Definition at line 1240 of file r300_reg.h.

#define R300_FPI2_ARGA_HALF   18

Definition at line 1229 of file r300_reg.h.

#define R300_FPI2_ARGA_ONE   17

Definition at line 1227 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC0A   9

Definition at line 1222 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC0C_X   0

Definition at line 1213 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC0C_Y   1

Definition at line 1214 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC0C_Z   2

Definition at line 1215 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC1A   10

Definition at line 1223 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC1A_LRP   15

Definition at line 1225 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC1C_X   3

Definition at line 1216 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC1C_Y   4

Definition at line 1217 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC1C_Z   5

Definition at line 1218 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC2A   11

Definition at line 1224 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC2C_X   6

Definition at line 1219 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC2C_Y   7

Definition at line 1220 of file r300_reg.h.

#define R300_FPI2_ARGA_SRC2C_Z   8

Definition at line 1221 of file r300_reg.h.

#define R300_FPI2_ARGA_ZERO   16

Definition at line 1226 of file r300_reg.h.

#define R300_FPI2_OUTA_CMP   (6 << 23)

Definition at line 1250 of file r300_reg.h.

#define R300_FPI2_OUTA_DP4   (1 << 23)

Definition at line 1247 of file r300_reg.h.

#define R300_FPI2_OUTA_EX2   (8 << 23)

Definition at line 1252 of file r300_reg.h.

#define R300_FPI2_OUTA_FRC   (7 << 23)

Definition at line 1251 of file r300_reg.h.

#define R300_FPI2_OUTA_LG2   (9 << 23)

Definition at line 1253 of file r300_reg.h.

#define R300_FPI2_OUTA_MAD   (0 << 23)

Definition at line 1246 of file r300_reg.h.

#define R300_FPI2_OUTA_MAX   (3 << 23)

Definition at line 1249 of file r300_reg.h.

#define R300_FPI2_OUTA_MIN   (2 << 23)

Definition at line 1248 of file r300_reg.h.

#define R300_FPI2_OUTA_RCP   (10 << 23)

Definition at line 1254 of file r300_reg.h.

#define R300_FPI2_OUTA_RSQ   (11 << 23)

Definition at line 1255 of file r300_reg.h.

#define R300_FPI2_OUTA_SAT   (1 << 30)

Definition at line 1256 of file r300_reg.h.

#define R300_FPI2_SPECIAL_LRP   (1 << 21)

Definition at line 1245 of file r300_reg.h.

#define R300_FPI2_UNKNOWN_31   (1 << 31)

Definition at line 1257 of file r300_reg.h.

#define R300_FPI3_DSTA_DEPTH   (1 << 27)

Definition at line 1154 of file r300_reg.h.

#define R300_FPI3_DSTA_MASK   (31 << 18)

Definition at line 1151 of file r300_reg.h.

#define R300_FPI3_DSTA_OUTPUT   (1 << 24)

Definition at line 1153 of file r300_reg.h.

#define R300_FPI3_DSTA_REG   (1 << 23)

Definition at line 1152 of file r300_reg.h.

#define R300_FPI3_DSTA_SHIFT   18

Definition at line 1150 of file r300_reg.h.

#define R300_FPI3_SRC0A_CONST   (1 << 5)

Definition at line 1142 of file r300_reg.h.

#define R300_FPI3_SRC0A_MASK   (31 << 0)

Definition at line 1141 of file r300_reg.h.

#define R300_FPI3_SRC0A_SHIFT   0

Definition at line 1140 of file r300_reg.h.

#define R300_FPI3_SRC1A_CONST   (1 << 11)

Definition at line 1145 of file r300_reg.h.

#define R300_FPI3_SRC1A_MASK   (31 << 6)

Definition at line 1144 of file r300_reg.h.

#define R300_FPI3_SRC1A_SHIFT   6

Definition at line 1143 of file r300_reg.h.

#define R300_FPI3_SRC2A_CONST   (1 << 17)

Definition at line 1148 of file r300_reg.h.

#define R300_FPI3_SRC2A_MASK   (31 << 12)

Definition at line 1147 of file r300_reg.h.

#define R300_FPI3_SRC2A_SHIFT   12

Definition at line 1146 of file r300_reg.h.

#define R300_FPI3_SRC_MASK   0x0003ffff

Definition at line 1149 of file r300_reg.h.

#define R300_FPITX_DST_MASK   (31 << 6)

Definition at line 1039 of file r300_reg.h.

#define R300_FPITX_DST_SHIFT   6

Definition at line 1038 of file r300_reg.h.

#define R300_FPITX_IMAGE_MASK   (15 << 11)

Definition at line 1042 of file r300_reg.h.

#define R300_FPITX_IMAGE_SHIFT   11

Definition at line 1040 of file r300_reg.h.

#define R300_FPITX_OP_KIL   2

Definition at line 1048 of file r300_reg.h.

#define R300_FPITX_OP_TEX   1

Definition at line 1047 of file r300_reg.h.

#define R300_FPITX_OP_TXB   4

Definition at line 1050 of file r300_reg.h.

#define R300_FPITX_OP_TXP   3

Definition at line 1049 of file r300_reg.h.

#define R300_FPITX_OPCODE_MASK   (7 << 15)

Definition at line 1051 of file r300_reg.h.

#define R300_FPITX_OPCODE_SHIFT   15

Definition at line 1046 of file r300_reg.h.

#define R300_FPITX_SRC_CONST   (1 << 5)

Definition at line 1037 of file r300_reg.h.

#define R300_FPITX_SRC_MASK   (31 << 0)

Definition at line 1035 of file r300_reg.h.

#define R300_FPITX_SRC_SHIFT   0

Definition at line 1034 of file r300_reg.h.

#define R300_FRONT_FACE_CCW   (0 << 2)

Definition at line 619 of file r300_reg.h.

#define R300_FRONT_FACE_CW   (1 << 2)

Definition at line 620 of file r300_reg.h.

#define R300_GB_AA_CONFIG   0x4020

Definition at line 511 of file r300_reg.h.

#define R300_GB_DEPTH_SELECT_1_1_W   (1<<3)

Definition at line 507 of file r300_reg.h.

#define R300_GB_DEPTH_SELECT_Z   0

Definition at line 506 of file r300_reg.h.

#define R300_GB_ENABLE   0x4008

Definition at line 411 of file r300_reg.h.

#define R300_GB_FIFO_SIZE   0x4024

Definition at line 476 of file r300_reg.h.

#define R300_GB_FIFO_SIZE_128   2

Definition at line 480 of file r300_reg.h.

#define R300_GB_FIFO_SIZE_256   3

Definition at line 481 of file r300_reg.h.

#define R300_GB_FIFO_SIZE_32   0

Definition at line 478 of file r300_reg.h.

#define R300_GB_FIFO_SIZE_64   1

Definition at line 479 of file r300_reg.h.

#define R300_GB_FOG_SELECT_1_1_W   4

Definition at line 504 of file r300_reg.h.

#define R300_GB_FOG_SELECT_C0A   0

Definition at line 500 of file r300_reg.h.

#define R300_GB_FOG_SELECT_C1A   1

Definition at line 501 of file r300_reg.h.

#define R300_GB_FOG_SELECT_C2A   2

Definition at line 502 of file r300_reg.h.

#define R300_GB_FOG_SELECT_C3A   3

Definition at line 503 of file r300_reg.h.

#define R300_GB_FOG_SELECT_Z   5

Definition at line 505 of file r300_reg.h.

#define R300_GB_LINE_STUFF_ENABLE   (1<<1)

Definition at line 413 of file r300_reg.h.

#define R300_GB_MSPOS0   0x4010

Definition at line 431 of file r300_reg.h.

#define R300_GB_MSPOS0__MS_X0_SHIFT   0

Definition at line 433 of file r300_reg.h.

#define R300_GB_MSPOS0__MS_X1_SHIFT   8

Definition at line 435 of file r300_reg.h.

#define R300_GB_MSPOS0__MS_X2_SHIFT   16

Definition at line 437 of file r300_reg.h.

#define R300_GB_MSPOS0__MS_Y0_SHIFT   4

Definition at line 434 of file r300_reg.h.

#define R300_GB_MSPOS0__MS_Y1_SHIFT   12

Definition at line 436 of file r300_reg.h.

#define R300_GB_MSPOS0__MS_Y2_SHIFT   20

Definition at line 438 of file r300_reg.h.

#define R300_GB_MSPOS0__MSBD0_X   28

Definition at line 440 of file r300_reg.h.

#define R300_GB_MSPOS0__MSBD0_Y   24

Definition at line 439 of file r300_reg.h.

#define R300_GB_MSPOS1   0x4014

Definition at line 442 of file r300_reg.h.

#define R300_GB_MSPOS1__MS_X3_SHIFT   0

Definition at line 443 of file r300_reg.h.

#define R300_GB_MSPOS1__MS_X4_SHIFT   8

Definition at line 445 of file r300_reg.h.

#define R300_GB_MSPOS1__MS_X5_SHIFT   16

Definition at line 447 of file r300_reg.h.

#define R300_GB_MSPOS1__MS_Y3_SHIFT   4

Definition at line 444 of file r300_reg.h.

#define R300_GB_MSPOS1__MS_Y4_SHIFT   12

Definition at line 446 of file r300_reg.h.

#define R300_GB_MSPOS1__MS_Y5_SHIFT   20

Definition at line 448 of file r300_reg.h.

#define R300_GB_MSPOS1__MSBD1   24

Definition at line 449 of file r300_reg.h.

#define R300_GB_POINT_STUFF_ENABLE   (1<<0)

Definition at line 412 of file r300_reg.h.

#define R300_GB_SELECT   0x401C

Definition at line 499 of file r300_reg.h.

#define R300_GB_STENCIL_AUTO_ENABLE   (1<<4)

Definition at line 415 of file r300_reg.h.

#define R300_GB_SUBPIXEL_1_12   0

Definition at line 473 of file r300_reg.h.

#define R300_GB_SUBPIXEL_1_16   (1<<16)

Definition at line 474 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_1   (0<<6)

Definition at line 461 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_128   (7<<6)

Definition at line 468 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_16   (4<<6)

Definition at line 465 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_2   (1<<6)

Definition at line 462 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_32   (5<<6)

Definition at line 466 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_4   (2<<6)

Definition at line 463 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_64   (6<<6)

Definition at line 467 of file r300_reg.h.

#define R300_GB_SUPER_SIZE_8   (3<<6)

Definition at line 464 of file r300_reg.h.

#define R300_GB_SUPER_TILE_A   0

Definition at line 471 of file r300_reg.h.

#define R300_GB_SUPER_TILE_B   (1<<15)

Definition at line 472 of file r300_reg.h.

#define R300_GB_SUPER_X_SHIFT   9 /* 3 bits wide */

Definition at line 469 of file r300_reg.h.

#define R300_GB_SUPER_Y_SHIFT   12 /* 3 bits wide */

Definition at line 470 of file r300_reg.h.

#define R300_GB_TEX0_SOURCE_SHIFT   16

Definition at line 421 of file r300_reg.h.

#define R300_GB_TEX1_SOURCE_SHIFT   18

Definition at line 422 of file r300_reg.h.

#define R300_GB_TEX2_SOURCE_SHIFT   20

Definition at line 423 of file r300_reg.h.

#define R300_GB_TEX3_SOURCE_SHIFT   22

Definition at line 424 of file r300_reg.h.

#define R300_GB_TEX4_SOURCE_SHIFT   24

Definition at line 425 of file r300_reg.h.

#define R300_GB_TEX5_SOURCE_SHIFT   26

Definition at line 426 of file r300_reg.h.

#define R300_GB_TEX6_SOURCE_SHIFT   28

Definition at line 427 of file r300_reg.h.

#define R300_GB_TEX7_SOURCE_SHIFT   30

Definition at line 428 of file r300_reg.h.

#define R300_GB_TEX_REPLICATE   0

Definition at line 418 of file r300_reg.h.

#define R300_GB_TEX_ST   1

Definition at line 419 of file r300_reg.h.

#define R300_GB_TEX_STR   2

Definition at line 420 of file r300_reg.h.

#define R300_GB_TILE_CONFIG   0x4018

Definition at line 452 of file r300_reg.h.

#define R300_GB_TILE_ENABLE   (1<<0)

Definition at line 453 of file r300_reg.h.

#define R300_GB_TILE_PIPE_COUNT_R300   (3<<1)

Definition at line 455 of file r300_reg.h.

#define R300_GB_TILE_PIPE_COUNT_R420   (7<<1)

Definition at line 456 of file r300_reg.h.

#define R300_GB_TILE_PIPE_COUNT_RV300   0

Definition at line 454 of file r300_reg.h.

#define R300_GB_TILE_PIPE_COUNT_RV410   (3<<1)

Definition at line 457 of file r300_reg.h.

#define R300_GB_TILE_SIZE_16   (1<<4)

Definition at line 459 of file r300_reg.h.

#define R300_GB_TILE_SIZE_32   (2<<4)

Definition at line 460 of file r300_reg.h.

#define R300_GB_TILE_SIZE_8   0

Definition at line 458 of file r300_reg.h.

#define R300_GB_TRIANGLE_STUFF_ENABLE   (1<<2)

Definition at line 414 of file r300_reg.h.

#define R300_GB_UNK31   (1<<31)

Definition at line 416 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0   0x4000

Definition at line 385 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_0_PRESENT   (1<<1)

Definition at line 387 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_1_PRESENT   (1<<2)

Definition at line 388 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_2_PRESENT   (1<<3)

Definition at line 389 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_3_PRESENT   (1<<4)

Definition at line 390 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0__COLOR_SPACE   (0xf<<5)

Definition at line 391 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0__POS_PRESENT   (1<<0)

Definition at line 386 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_0__PT_SIZE_PRESENT   (0x1<<16)

Definition at line 392 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1   0x4004

Definition at line 394 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_0_COMP_CNT_SHIFT   0

Definition at line 397 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_1_COMP_CNT_SHIFT   3

Definition at line 398 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_2_COMP_CNT_SHIFT   6

Definition at line 399 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_3_COMP_CNT_SHIFT   9

Definition at line 400 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_4_COMP_CNT_SHIFT   12

Definition at line 401 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_5_COMP_CNT_SHIFT   15

Definition at line 402 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_6_COMP_CNT_SHIFT   18

Definition at line 403 of file r300_reg.h.

#define R300_GB_VAP_RASTER_VTX_FMT_1__TEX_7_COMP_CNT_SHIFT   21

Definition at line 404 of file r300_reg.h.

#define R300_GB_W_SELECT_1   (1<<4)

Definition at line 509 of file r300_reg.h.

#define R300_GB_W_SELECT_1_W   0

Definition at line 508 of file r300_reg.h.

#define R300_HIZ_DISABLE   (0 << 0)

Definition at line 1463 of file r300_reg.h.

#define R300_HIZ_ENABLE   (1 << 0)

Definition at line 1464 of file r300_reg.h.

#define R300_HIZ_MAX   (1 << 1)

Definition at line 1466 of file r300_reg.h.

#define R300_HIZ_MIN   (0 << 1)

Definition at line 1465 of file r300_reg.h.

#define R300_INPUT_CNTL_0_COLOR   0x00000001

Definition at line 212 of file r300_reg.h.

#define R300_INPUT_CNTL_COLOR   0x00000004

Definition at line 216 of file r300_reg.h.

#define R300_INPUT_CNTL_NORMAL   0x00000002

Definition at line 215 of file r300_reg.h.

#define R300_INPUT_CNTL_POS   0x00000001

Definition at line 214 of file r300_reg.h.

#define R300_INPUT_CNTL_TC0   0x00000400

Definition at line 217 of file r300_reg.h.

#define R300_INPUT_CNTL_TC1   0x00000800

Definition at line 218 of file r300_reg.h.

#define R300_INPUT_CNTL_TC2   0x00001000 /* GUESS */

Definition at line 219 of file r300_reg.h.

#define R300_INPUT_CNTL_TC3   0x00002000 /* GUESS */

Definition at line 220 of file r300_reg.h.

#define R300_INPUT_CNTL_TC4   0x00004000 /* GUESS */

Definition at line 221 of file r300_reg.h.

#define R300_INPUT_CNTL_TC5   0x00008000 /* GUESS */

Definition at line 222 of file r300_reg.h.

#define R300_INPUT_CNTL_TC6   0x00010000 /* GUESS */

Definition at line 223 of file r300_reg.h.

#define R300_INPUT_CNTL_TC7   0x00020000 /* GUESS */

Definition at line 224 of file r300_reg.h.

#define R300_INPUT_ROUTE_COMPONENTS_1   (0 << 0)

Definition at line 184 of file r300_reg.h.

#define R300_INPUT_ROUTE_COMPONENTS_2   (1 << 0)

Definition at line 185 of file r300_reg.h.

#define R300_INPUT_ROUTE_COMPONENTS_3   (2 << 0)

Definition at line 186 of file r300_reg.h.

#define R300_INPUT_ROUTE_COMPONENTS_4   (3 << 0)

Definition at line 187 of file r300_reg.h.

#define R300_INPUT_ROUTE_COMPONENTS_RGBA   (4 << 0) /* GUESS */

Definition at line 188 of file r300_reg.h.

#define R300_INPUT_ROUTE_ENABLE   (15 << 12)

Definition at line 247 of file r300_reg.h.

#define R300_INPUT_ROUTE_FLOAT   (1 << 14) /* GUESS */

Definition at line 193 of file r300_reg.h.

#define R300_INPUT_ROUTE_FLOAT_COLOR   (3 << 14) /* GUESS */

Definition at line 195 of file r300_reg.h.

#define R300_INPUT_ROUTE_IMMEDIATE_MODE   (0 << 14) /* GUESS */

Definition at line 192 of file r300_reg.h.

#define R300_INPUT_ROUTE_SELECT_MASK   7

Definition at line 242 of file r300_reg.h.

#define R300_INPUT_ROUTE_SELECT_ONE   5

Definition at line 241 of file r300_reg.h.

#define R300_INPUT_ROUTE_SELECT_W   3

Definition at line 239 of file r300_reg.h.

#define R300_INPUT_ROUTE_SELECT_X   0

Definition at line 236 of file r300_reg.h.

#define R300_INPUT_ROUTE_SELECT_Y   1

Definition at line 237 of file r300_reg.h.

#define R300_INPUT_ROUTE_SELECT_Z   2

Definition at line 238 of file r300_reg.h.

#define R300_INPUT_ROUTE_SELECT_ZERO   4

Definition at line 240 of file r300_reg.h.

#define R300_INPUT_ROUTE_UNSIGNED_BYTE   (2 << 14) /* GUESS */

Definition at line 194 of file r300_reg.h.

#define R300_INPUT_ROUTE_W_SHIFT   9

Definition at line 246 of file r300_reg.h.

#define R300_INPUT_ROUTE_X_SHIFT   0

Definition at line 243 of file r300_reg.h.

#define R300_INPUT_ROUTE_Y_SHIFT   3

Definition at line 244 of file r300_reg.h.

#define R300_INPUT_ROUTE_Z_SHIFT   6

Definition at line 245 of file r300_reg.h.

#define R300_INVERT_13E3_LEADING_ONES   (0 << 4)

Definition at line 1445 of file r300_reg.h.

#define R300_INVERT_13E3_LEADING_ZEROS   (1 << 4)

Definition at line 1446 of file r300_reg.h.

#define R300_LINE_CNT_HO   (1 << 16)

Definition at line 565 of file r300_reg.h.

#define R300_LINE_CNT_VE   (1 << 17)

Definition at line 566 of file r300_reg.h.

#define R300_LINESIZE_MASK   (0xFFFF << 0) /* GUESS */

Definition at line 563 of file r300_reg.h.

#define R300_LINESIZE_MAX   (R300_LINESIZE_MASK / 6)

Definition at line 564 of file r300_reg.h.

#define R300_LINESIZE_SHIFT   0

Definition at line 562 of file r300_reg.h.

#define R300_LOD_BIAS_MASK   0x1fff

Definition at line 842 of file r300_reg.h.

#define R300_MC_COORD_TRUNCATE_DISABLE   (0<<14)

Definition at line 845 of file r300_reg.h.

#define R300_MC_COORD_TRUNCATE_MPEG   (1<<14)

Definition at line 846 of file r300_reg.h.

#define R300_MC_INIT_GFX_LAT_TIMER   0x154

Definition at line 45 of file r300_reg.h.

#define R300_MC_INIT_MISC_LAT_TIMER   0x180

Definition at line 35 of file r300_reg.h.

#define R300_MC_MISC__MC_CPR_INIT_LAT_SHIFT   0

Definition at line 36 of file r300_reg.h.

#define R300_MC_MISC__MC_DISP0R_INIT_LAT_SHIFT   8

Definition at line 38 of file r300_reg.h.

#define R300_MC_MISC__MC_DISP1R_INIT_LAT_SHIFT   12

Definition at line 39 of file r300_reg.h.

#define R300_MC_MISC__MC_E2R_INIT_LAT_SHIFT   20

Definition at line 41 of file r300_reg.h.

#define R300_MC_MISC__MC_FIXED_INIT_LAT_SHIFT   16

Definition at line 40 of file r300_reg.h.

#define R300_MC_MISC__MC_G3D0R_INIT_LAT_SHIFT   0

Definition at line 46 of file r300_reg.h.

#define R300_MC_MISC__MC_G3D1R_INIT_LAT_SHIFT   4

Definition at line 47 of file r300_reg.h.

#define R300_MC_MISC__MC_G3D2R_INIT_LAT_SHIFT   8

Definition at line 48 of file r300_reg.h.

#define R300_MC_MISC__MC_G3D3R_INIT_LAT_SHIFT   12

Definition at line 49 of file r300_reg.h.

#define R300_MC_MISC__MC_GLOBR_INIT_LAT_SHIFT   24

Definition at line 52 of file r300_reg.h.

#define R300_MC_MISC__MC_GLOBW_FULL_LAT_SHIFT   28

Definition at line 53 of file r300_reg.h.

#define R300_MC_MISC__MC_GLOBW_INIT_LAT_SHIFT   28

Definition at line 43 of file r300_reg.h.

#define R300_MC_MISC__MC_SAME_PAGE_PRIO_SHIFT   24

Definition at line 42 of file r300_reg.h.

#define R300_MC_MISC__MC_TX0R_INIT_LAT_SHIFT   16

Definition at line 50 of file r300_reg.h.

#define R300_MC_MISC__MC_TX1R_INIT_LAT_SHIFT   20

Definition at line 51 of file r300_reg.h.

#define R300_MC_MISC__MC_VF_INIT_LAT_SHIFT   4

Definition at line 37 of file r300_reg.h.

#define R300_MC_ROUND_MPEG4   (1<<2)

Definition at line 841 of file r300_reg.h.

#define R300_MC_ROUND_NORMAL   (0<<2)

Definition at line 840 of file r300_reg.h.

#define R300_OCCLUSION_ON   (1<<1)

Definition at line 614 of file r300_reg.h.

#define R300_OFIFO_HIGHWATER_SHIFT   22 /* two bits only */

Definition at line 496 of file r300_reg.h.

#define R300_PACKET3_3D_DRAW_INDX_2   0x00003600

Definition at line 1748 of file r300_reg.h.

#define R300_PACKET3_3D_DRAW_VBUF   0x00002800

Definition at line 1725 of file r300_reg.h.

#define R300_PACKET3_3D_DRAW_VBUF_2   0x00003400

Definition at line 1747 of file r300_reg.h.

#define R300_PACKET3_3D_LOAD_VBPNTR   0x00002F00

Definition at line 1741 of file r300_reg.h.

#define R300_PACKET3_INDX_BUFFER   0x00003300

Definition at line 1743 of file r300_reg.h.

#define R300_PFS_CNTL_0   0x4600

Definition at line 986 of file r300_reg.h.

#define R300_PFS_CNTL_1   0x4604

Definition at line 990 of file r300_reg.h.

#define R300_PFS_CNTL_2   0x4608

Definition at line 994 of file r300_reg.h.

#define R300_PFS_CNTL_ALU_END_MASK   (63 << 6)

Definition at line 998 of file r300_reg.h.

#define R300_PFS_CNTL_ALU_END_SHIFT   6

Definition at line 997 of file r300_reg.h.

#define R300_PFS_CNTL_ALU_OFFSET_MASK   (63 << 0)

Definition at line 996 of file r300_reg.h.

#define R300_PFS_CNTL_ALU_OFFSET_SHIFT   0

Definition at line 995 of file r300_reg.h.

#define R300_PFS_CNTL_FIRST_NODE_HAS_TEX   (1 << 3)

Definition at line 989 of file r300_reg.h.

#define R300_PFS_CNTL_LAST_NODES_MASK   (3 << 0)

Definition at line 988 of file r300_reg.h.

#define R300_PFS_CNTL_LAST_NODES_SHIFT   0

Definition at line 987 of file r300_reg.h.

#define R300_PFS_CNTL_TEX_END_MASK   (31 << 18) /* GUESS */

Definition at line 1002 of file r300_reg.h.

#define R300_PFS_CNTL_TEX_END_SHIFT   18

Definition at line 1001 of file r300_reg.h.

#define R300_PFS_CNTL_TEX_OFFSET_MASK   (31 << 12) /* GUESS */

Definition at line 1000 of file r300_reg.h.

#define R300_PFS_CNTL_TEX_OFFSET_SHIFT   12

Definition at line 999 of file r300_reg.h.

#define R300_PFS_INSTR0_0   0x48C0

Definition at line 1156 of file r300_reg.h.

#define R300_PFS_INSTR1_0   0x46C0

Definition at line 1117 of file r300_reg.h.

#define R300_PFS_INSTR2_0   0x49C0

Definition at line 1212 of file r300_reg.h.

#define R300_PFS_INSTR3_0   0x47C0

Definition at line 1139 of file r300_reg.h.

#define R300_PFS_NODE_0   0x4610

Definition at line 1013 of file r300_reg.h.

#define R300_PFS_NODE_1   0x4614

Definition at line 1014 of file r300_reg.h.

#define R300_PFS_NODE_2   0x4618

Definition at line 1015 of file r300_reg.h.

#define R300_PFS_NODE_3   0x461C

Definition at line 1016 of file r300_reg.h.

#define R300_PFS_NODE_ALU_END_MASK   (63 << 6)

Definition at line 1020 of file r300_reg.h.

#define R300_PFS_NODE_ALU_END_SHIFT   6

Definition at line 1019 of file r300_reg.h.

#define R300_PFS_NODE_ALU_OFFSET_MASK   (63 << 0)

Definition at line 1018 of file r300_reg.h.

#define R300_PFS_NODE_ALU_OFFSET_SHIFT   0

Definition at line 1017 of file r300_reg.h.

#define R300_PFS_NODE_OUTPUT_COLOR   (1 << 22)

Definition at line 1025 of file r300_reg.h.

#define R300_PFS_NODE_OUTPUT_DEPTH   (1 << 23)

Definition at line 1026 of file r300_reg.h.

#define R300_PFS_NODE_TEX_END_MASK   (31 << 17)

Definition at line 1024 of file r300_reg.h.

#define R300_PFS_NODE_TEX_END_SHIFT   17

Definition at line 1023 of file r300_reg.h.

#define R300_PFS_NODE_TEX_OFFSET_MASK   (31 << 12)

Definition at line 1022 of file r300_reg.h.

#define R300_PFS_NODE_TEX_OFFSET_SHIFT   12

Definition at line 1021 of file r300_reg.h.

#define R300_PFS_PARAM_0_W   0x4C0C

Definition at line 1290 of file r300_reg.h.

#define R300_PFS_PARAM_0_X   0x4C00

Definition at line 1287 of file r300_reg.h.

#define R300_PFS_PARAM_0_Y   0x4C04

Definition at line 1288 of file r300_reg.h.

#define R300_PFS_PARAM_0_Z   0x4C08

Definition at line 1289 of file r300_reg.h.

#define R300_PFS_PARAM_31_W   0x4DFC

Definition at line 1295 of file r300_reg.h.

#define R300_PFS_PARAM_31_X   0x4DF0

Definition at line 1292 of file r300_reg.h.

#define R300_PFS_PARAM_31_Y   0x4DF4

Definition at line 1293 of file r300_reg.h.

#define R300_PFS_PARAM_31_Z   0x4DF8

Definition at line 1294 of file r300_reg.h.

#define R300_PFS_TEXI_0   0x4620

Definition at line 1033 of file r300_reg.h.

#define R300_PM_BACK_FILL   (1 << 8)

Definition at line 586 of file r300_reg.h.

#define R300_PM_BACK_LINE   (1 << 7)

Definition at line 585 of file r300_reg.h.

#define R300_PM_BACK_POINT   (0 << 0)

Definition at line 582 of file r300_reg.h.

#define R300_PM_ENABLED   (1 << 0)

Definition at line 580 of file r300_reg.h.

#define R300_PM_FRONT_FILL   (1 << 5)

Definition at line 584 of file r300_reg.h.

#define R300_PM_FRONT_LINE   (1 << 4)

Definition at line 583 of file r300_reg.h.

#define R300_PM_FRONT_POINT   (0 << 0)

Definition at line 581 of file r300_reg.h.

#define R300_POINTSIZE_MAX   (R300_POINTSIZE_Y_MASK / 6)

Definition at line 553 of file r300_reg.h.

#define R300_POINTSIZE_X_MASK   (0xFFFF << 16) /* GUESS */

Definition at line 552 of file r300_reg.h.

#define R300_POINTSIZE_X_SHIFT   16

Definition at line 551 of file r300_reg.h.

#define R300_POINTSIZE_Y_MASK   (0xFFFF << 0) /* GUESS */

Definition at line 550 of file r300_reg.h.

#define R300_POINTSIZE_Y_SHIFT   0

Definition at line 549 of file r300_reg.h.

#define R300_PP_ALPHA_TEST   0x4BD4

Definition at line 1271 of file r300_reg.h.

#define R300_PRIM_COLOR_ORDER_BGRA   (0 << 6)

Definition at line 1715 of file r300_reg.h.

#define R300_PRIM_COLOR_ORDER_RGBA   (1 << 6)

Definition at line 1716 of file r300_reg.h.

#define R300_PRIM_NUM_VERTICES_MASK   0xffff

Definition at line 1718 of file r300_reg.h.

#define R300_PRIM_NUM_VERTICES_SHIFT   16

Definition at line 1717 of file r300_reg.h.

#define R300_PRIM_TYPE_3VRT_LINE_LIST   (10 << 0)

Definition at line 1702 of file r300_reg.h.

#define R300_PRIM_TYPE_3VRT_POINT_LIST   (9 << 0)

Definition at line 1701 of file r300_reg.h.

#define R300_PRIM_TYPE_LINE   (2 << 0)

Definition at line 1694 of file r300_reg.h.

#define R300_PRIM_TYPE_LINE_LOOP   (12 << 0)

Definition at line 1705 of file r300_reg.h.

#define R300_PRIM_TYPE_LINE_STRIP   (3 << 0)

Definition at line 1695 of file r300_reg.h.

#define R300_PRIM_TYPE_MASK   0xF

Definition at line 1709 of file r300_reg.h.

#define R300_PRIM_TYPE_NONE   (0 << 0)

Definition at line 1692 of file r300_reg.h.

#define R300_PRIM_TYPE_POINT   (1 << 0)

Definition at line 1693 of file r300_reg.h.

#define R300_PRIM_TYPE_POINT_SPRITES   (11 << 0)

Definition at line 1704 of file r300_reg.h.

#define R300_PRIM_TYPE_POLYGON   (15 << 0)

Definition at line 1708 of file r300_reg.h.

#define R300_PRIM_TYPE_QUAD_STRIP   (14 << 0)

Definition at line 1707 of file r300_reg.h.

#define R300_PRIM_TYPE_QUADS   (13 << 0)

Definition at line 1706 of file r300_reg.h.

#define R300_PRIM_TYPE_RECT_LIST   (8 << 0)

Definition at line 1700 of file r300_reg.h.

#define R300_PRIM_TYPE_TRI_FAN   (5 << 0)

Definition at line 1697 of file r300_reg.h.

#define R300_PRIM_TYPE_TRI_LIST   (4 << 0)

Definition at line 1696 of file r300_reg.h.

#define R300_PRIM_TYPE_TRI_STRIP   (6 << 0)

Definition at line 1698 of file r300_reg.h.

#define R300_PRIM_TYPE_TRI_TYPE2   (7 << 0)

Definition at line 1699 of file r300_reg.h.

#define R300_PRIM_WALK_IND   (1 << 4)

Definition at line 1710 of file r300_reg.h.

#define R300_PRIM_WALK_LIST   (2 << 4)

Definition at line 1711 of file r300_reg.h.

#define R300_PRIM_WALK_MASK   (3 << 4)

Definition at line 1713 of file r300_reg.h.

#define R300_PRIM_WALK_RING   (3 << 4)

Definition at line 1712 of file r300_reg.h.

#define R300_PVS_CNTL_1_POS_END_SHIFT   10

Definition at line 354 of file r300_reg.h.

#define R300_PVS_CNTL_1_PROGRAM_END_SHIFT   20

Definition at line 355 of file r300_reg.h.

#define R300_PVS_CNTL_1_PROGRAM_START_SHIFT   0

Definition at line 353 of file r300_reg.h.

#define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT   16

Definition at line 359 of file r300_reg.h.

#define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT   0

Definition at line 358 of file r300_reg.h.

#define R300_PVS_CNTL_3_PROGRAM_UNKNOWN2_SHIFT   0

Definition at line 362 of file r300_reg.h.

#define R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT   10

Definition at line 361 of file r300_reg.h.

#define R300_PVS_UPLOAD_PARAMETERS   0x00000200

Definition at line 288 of file r300_reg.h.

#define R300_PVS_UPLOAD_POINTSIZE   0x00000406

Definition at line 289 of file r300_reg.h.

#define R300_PVS_UPLOAD_PROGRAM   0x00000000

Definition at line 287 of file r300_reg.h.

#define R300_RB3D_AARESOLVE_CTL   0x4E88

Definition at line 1376 of file r300_reg.h.

#define R300_RB3D_AARESOLVE_OFFSET   0x4E80

Definition at line 1374 of file r300_reg.h.

#define R300_RB3D_AARESOLVE_PITCH   0x4E84

Definition at line 1375 of file r300_reg.h.

#define R300_RB3D_ABLEND   0x4E08

Definition at line 1306 of file r300_reg.h.

#define R300_RB3D_BLEND_COLOR   0x4E10

Definition at line 1339 of file r300_reg.h.

#define R300_RB3D_CBLEND   0x4E04

Definition at line 1305 of file r300_reg.h.

#define R300_RB3D_COLORMASK   0x4E0C

Definition at line 1340 of file r300_reg.h.

#define R300_RB3D_COLOROFFSET0   0x4E28

Definition at line 1348 of file r300_reg.h.

#define R300_RB3D_COLOROFFSET1   0x4E2C /* GUESS */

Definition at line 1350 of file r300_reg.h.

#define R300_RB3D_COLOROFFSET2   0x4E30 /* GUESS */

Definition at line 1351 of file r300_reg.h.

#define R300_RB3D_COLOROFFSET3   0x4E34 /* GUESS */

Definition at line 1352 of file r300_reg.h.

#define R300_RB3D_COLORPITCH0   0x4E38

Definition at line 1360 of file r300_reg.h.

#define R300_RB3D_COLORPITCH1   0x4E3C /* GUESS */

Definition at line 1370 of file r300_reg.h.

#define R300_RB3D_COLORPITCH2   0x4E40 /* GUESS */

Definition at line 1371 of file r300_reg.h.

#define R300_RB3D_COLORPITCH3   0x4E44 /* GUESS */

Definition at line 1372 of file r300_reg.h.

#define R300_RB3D_DSTCACHE_UNKNOWN_02   0x00000002

Definition at line 1383 of file r300_reg.h.

#define R300_RB3D_DSTCACHE_UNKNOWN_0A   0x0000000A

Definition at line 1384 of file r300_reg.h.

#define R300_RD_COMP_DISABLE   (0 << 3)

Definition at line 1469 of file r300_reg.h.

#define R300_RD_COMP_ENABLE   (1 << 3)

Definition at line 1470 of file r300_reg.h.

#define R300_RE_CLIPRECT_BR_0   0x43B4

Definition at line 749 of file r300_reg.h.

#define R300_RE_CLIPRECT_BR_1   0x43BC

Definition at line 751 of file r300_reg.h.

#define R300_RE_CLIPRECT_BR_2   0x43C4

Definition at line 753 of file r300_reg.h.

#define R300_RE_CLIPRECT_BR_3   0x43CC

Definition at line 755 of file r300_reg.h.

#define R300_RE_CLIPRECT_CNTL   0x43D0

Definition at line 762 of file r300_reg.h.

#define R300_RE_CLIPRECT_TL_0   0x43B0

Definition at line 748 of file r300_reg.h.

#define R300_RE_CLIPRECT_TL_1   0x43B8

Definition at line 750 of file r300_reg.h.

#define R300_RE_CLIPRECT_TL_2   0x43C0

Definition at line 752 of file r300_reg.h.

#define R300_RE_CLIPRECT_TL_3   0x43C8

Definition at line 754 of file r300_reg.h.

#define R300_RE_CULL_CNTL   0x42B8

Definition at line 616 of file r300_reg.h.

#define R300_RE_FOG_SCALE   0x4294

Definition at line 589 of file r300_reg.h.

#define R300_RE_FOG_START   0x4298

Definition at line 590 of file r300_reg.h.

#define R300_RE_FOG_STATE   0x4BC0

Definition at line 1261 of file r300_reg.h.

#define R300_RE_LINE_CNT   0x4234

Definition at line 561 of file r300_reg.h.

#define R300_RE_OCCLUSION_CNTL   0x42B4

Definition at line 613 of file r300_reg.h.

#define R300_RE_POINTSIZE   0x421C

Definition at line 548 of file r300_reg.h.

#define R300_RE_POLYGON_MODE   0x4288

Definition at line 579 of file r300_reg.h.

#define R300_RE_SCISSORS_BR   0x43E4

Definition at line 783 of file r300_reg.h.

#define R300_RE_SCISSORS_TL   0x43E0

Definition at line 782 of file r300_reg.h.

#define R300_RE_SHADE   0x4274

Definition at line 572 of file r300_reg.h.

#define R300_RE_SHADE_MODEL   0x4278

Definition at line 574 of file r300_reg.h.

#define R300_RE_SHADE_MODEL_FLAT   0x39595

Definition at line 576 of file r300_reg.h.

#define R300_RE_SHADE_MODEL_SMOOTH   0x3aaaa

Definition at line 575 of file r300_reg.h.

#define R300_RE_UNK4238   0x4238

Definition at line 569 of file r300_reg.h.

#define R300_RE_ZBIAS_CNTL   0x42A0 /* GUESS */

Definition at line 598 of file r300_reg.h.

#define R300_RE_ZBIAS_T_CONSTANT   0x42A8

Definition at line 600 of file r300_reg.h.

#define R300_RE_ZBIAS_T_FACTOR   0x42A4

Definition at line 599 of file r300_reg.h.

#define R300_RE_ZBIAS_W_CONSTANT   0x42B0

Definition at line 602 of file r300_reg.h.

#define R300_RE_ZBIAS_W_FACTOR   0x42AC

Definition at line 601 of file r300_reg.h.

#define R300_REF_ALPHA_MASK   0x000000ff

Definition at line 1272 of file r300_reg.h.

#define R300_RS_CFIFO_SIZE_SHIFT   8

Definition at line 491 of file r300_reg.h.

#define R300_RS_CNTL_0   0x4300

Definition at line 629 of file r300_reg.h.

#define R300_RS_CNTL_0_UNKNOWN_18   (1 << 18)

Definition at line 634 of file r300_reg.h.

#define R300_RS_CNTL_1   0x4304

Definition at line 637 of file r300_reg.h.

#define R300_RS_CNTL_CI_CNT_SHIFT   7

Definition at line 633 of file r300_reg.h.

#define R300_RS_CNTL_TC_CNT_MASK   (7 << 2)

Definition at line 631 of file r300_reg.h.

#define R300_RS_CNTL_TC_CNT_SHIFT   2

Definition at line 630 of file r300_reg.h.

#define R300_RS_HIGHWATER_COL_SHIFT   16

Definition at line 494 of file r300_reg.h.

#define R300_RS_HIGHWATER_TEX_SHIFT   19

Definition at line 495 of file r300_reg.h.

#define R300_RS_INTERP_0   0x4310

Definition at line 654 of file r300_reg.h.

#define R300_RS_INTERP_1   0x4314

Definition at line 655 of file r300_reg.h.

#define R300_RS_INTERP_1_UNKNOWN   0x40

Definition at line 656 of file r300_reg.h.

#define R300_RS_INTERP_2   0x4318

Definition at line 657 of file r300_reg.h.

#define R300_RS_INTERP_2_UNKNOWN   0x80

Definition at line 658 of file r300_reg.h.

#define R300_RS_INTERP_3   0x431C

Definition at line 659 of file r300_reg.h.

#define R300_RS_INTERP_3_UNKNOWN   0xC0

Definition at line 660 of file r300_reg.h.

#define R300_RS_INTERP_4   0x4320

Definition at line 661 of file r300_reg.h.

#define R300_RS_INTERP_5   0x4324

Definition at line 662 of file r300_reg.h.

#define R300_RS_INTERP_6   0x4328

Definition at line 663 of file r300_reg.h.

#define R300_RS_INTERP_7   0x432C

Definition at line 664 of file r300_reg.h.

#define R300_RS_INTERP_SRC_MASK   (7 << 2)

Definition at line 666 of file r300_reg.h.

#define R300_RS_INTERP_SRC_SHIFT   2

Definition at line 665 of file r300_reg.h.

#define R300_RS_INTERP_USED   0x00D10000

Definition at line 667 of file r300_reg.h.

#define R300_RS_ROUTE_0   0x4330

Definition at line 672 of file r300_reg.h.

#define R300_RS_ROUTE_0_COLOR   (1 << 14)

Definition at line 701 of file r300_reg.h.

#define R300_RS_ROUTE_0_COLOR_DEST_MASK   (31 << 17) /* GUESS */

Definition at line 703 of file r300_reg.h.

#define R300_RS_ROUTE_0_COLOR_DEST_SHIFT   17

Definition at line 702 of file r300_reg.h.

#define R300_RS_ROUTE_1   0x4334

Definition at line 673 of file r300_reg.h.

#define R300_RS_ROUTE_1_COLOR1   (1 << 14)

Definition at line 705 of file r300_reg.h.

#define R300_RS_ROUTE_1_COLOR1_DEST_MASK   (31 << 17)

Definition at line 707 of file r300_reg.h.

#define R300_RS_ROUTE_1_COLOR1_DEST_SHIFT   17

Definition at line 706 of file r300_reg.h.

#define R300_RS_ROUTE_1_UNKNOWN11   (1 << 11)

Definition at line 708 of file r300_reg.h.

#define R300_RS_ROUTE_2   0x4338

Definition at line 674 of file r300_reg.h.

#define R300_RS_ROUTE_3   0x433C /* GUESS */

Definition at line 675 of file r300_reg.h.

#define R300_RS_ROUTE_4   0x4340 /* GUESS */

Definition at line 676 of file r300_reg.h.

#define R300_RS_ROUTE_5   0x4344 /* GUESS */

Definition at line 677 of file r300_reg.h.

#define R300_RS_ROUTE_6   0x4348 /* GUESS */

Definition at line 678 of file r300_reg.h.

#define R300_RS_ROUTE_7   0x434C /* GUESS */

Definition at line 679 of file r300_reg.h.

#define R300_RS_ROUTE_DEST_MASK   (31 << 6) /* GUESS */

Definition at line 690 of file r300_reg.h.

#define R300_RS_ROUTE_DEST_SHIFT   6

Definition at line 689 of file r300_reg.h.

#define R300_RS_ROUTE_ENABLE   (1 << 3) /* GUESS */

Definition at line 688 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_0   0

Definition at line 680 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_1   1

Definition at line 681 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_2   2

Definition at line 682 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_3   3

Definition at line 683 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_4   4

Definition at line 684 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_5   5 /* GUESS */

Definition at line 685 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_6   6 /* GUESS */

Definition at line 686 of file r300_reg.h.

#define R300_RS_ROUTE_SOURCE_INTERP_7   7 /* GUESS */

Definition at line 687 of file r300_reg.h.

#define R300_RS_TFIFO_SIZE_SHIFT   6

Definition at line 490 of file r300_reg.h.

#define R300_S_BACK_FUNC_SHIFT   15

Definition at line 1425 of file r300_reg.h.

#define R300_S_BACK_SFAIL_OP_SHIFT   18

Definition at line 1426 of file r300_reg.h.

#define R300_S_BACK_ZFAIL_OP_SHIFT   24

Definition at line 1428 of file r300_reg.h.

#define R300_S_BACK_ZPASS_OP_SHIFT   21

Definition at line 1427 of file r300_reg.h.

#define R300_S_FRONT_FUNC_SHIFT   3

Definition at line 1421 of file r300_reg.h.

#define R300_S_FRONT_SFAIL_OP_SHIFT   6

Definition at line 1422 of file r300_reg.h.

#define R300_S_FRONT_ZFAIL_OP_SHIFT   12

Definition at line 1424 of file r300_reg.h.

#define R300_S_FRONT_ZPASS_OP_SHIFT   9

Definition at line 1423 of file r300_reg.h.

#define R300_SC_BFIFO_SIZE_SHIFT   4

Definition at line 484 of file r300_reg.h.

#define R300_SC_EDGERULE   0x43a8

Definition at line 730 of file r300_reg.h.

#define R300_SC_HYPERZ   0x43a4

Definition at line 712 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_128   (1 << 2)

Definition at line 718 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_16   (4 << 2)

Definition at line 721 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_2   (7 << 2)

Definition at line 724 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_256   (0 << 2)

Definition at line 717 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_32   (3 << 2)

Definition at line 720 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_4   (6 << 2)

Definition at line 723 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_64   (2 << 2)

Definition at line 719 of file r300_reg.h.

#define R300_SC_HYPERZ_ADJ_8   (5 << 2)

Definition at line 722 of file r300_reg.h.

#define R300_SC_HYPERZ_DISABLE   (0 << 0)

Definition at line 713 of file r300_reg.h.

#define R300_SC_HYPERZ_ENABLE   (1 << 0)

Definition at line 714 of file r300_reg.h.

#define R300_SC_HYPERZ_HZ_Z0MAX   (1 << 6)

Definition at line 728 of file r300_reg.h.

#define R300_SC_HYPERZ_HZ_Z0MAX_NO   (0 << 6)

Definition at line 727 of file r300_reg.h.

#define R300_SC_HYPERZ_HZ_Z0MIN   (1 << 5)

Definition at line 726 of file r300_reg.h.

#define R300_SC_HYPERZ_HZ_Z0MIN_NO   (0 << 5)

Definition at line 725 of file r300_reg.h.

#define R300_SC_HYPERZ_MAX   (1 << 1)

Definition at line 716 of file r300_reg.h.

#define R300_SC_HYPERZ_MIN   (0 << 1)

Definition at line 715 of file r300_reg.h.

#define R300_SC_IFIFO_SIZE_SHIFT   0

Definition at line 482 of file r300_reg.h.

#define R300_SC_TZFIFO_SIZE_SHIFT   2

Definition at line 483 of file r300_reg.h.

#define R300_SCISSORS_OFFSET   1440

Definition at line 784 of file r300_reg.h.

#define R300_SCISSORS_X_MASK   (0x1FFF << 0)

Definition at line 786 of file r300_reg.h.

#define R300_SCISSORS_X_SHIFT   0

Definition at line 785 of file r300_reg.h.

#define R300_SCISSORS_Y_MASK   (0x1FFF << 13)

Definition at line 788 of file r300_reg.h.

#define R300_SCISSORS_Y_SHIFT   13

Definition at line 787 of file r300_reg.h.

#define R300_SE_VPORT_XOFFSET   0x1D9C

Definition at line 64 of file r300_reg.h.

#define R300_SE_VPORT_XSCALE   0x1D98

Definition at line 63 of file r300_reg.h.

#define R300_SE_VPORT_YOFFSET   0x1DA4

Definition at line 66 of file r300_reg.h.

#define R300_SE_VPORT_YSCALE   0x1DA0

Definition at line 65 of file r300_reg.h.

#define R300_SE_VPORT_ZOFFSET   0x1DAC

Definition at line 68 of file r300_reg.h.

#define R300_SE_VPORT_ZSCALE   0x1DA8

Definition at line 67 of file r300_reg.h.

#define R300_SE_VTE_CNTL   0x20b0

Definition at line 134 of file r300_reg.h.

#define R300_SRC_BLEND_SHIFT   (16)

Definition at line 1337 of file r300_reg.h.

#define R300_STENCIL_ENABLE   (1 << 0)

Definition at line 1392 of file r300_reg.h.

#define R300_STENCIL_FRONT_BACK   (1 << 4)

Definition at line 1396 of file r300_reg.h.

#define R300_STENCILMASK_MASK   0x0000ff00

Definition at line 1434 of file r300_reg.h.

#define R300_STENCILMASK_SHIFT   8

Definition at line 1433 of file r300_reg.h.

#define R300_STENCILREF_MASK   0x000000ff

Definition at line 1432 of file r300_reg.h.

#define R300_STENCILREF_SHIFT   0

Definition at line 1431 of file r300_reg.h.

#define R300_STENCILWRITEMASK_MASK   0x00ff0000

Definition at line 1436 of file r300_reg.h.

#define R300_STENCILWRITEMASK_SHIFT   16

Definition at line 1435 of file r300_reg.h.

#define R300_SU_REG_DEST   0x42c8

Definition at line 1784 of file r300_reg.h.

#define R300_SURF_TILE_BOTH   (3<<16)

Definition at line 32 of file r300_reg.h.

#define R300_SURF_TILE_MACRO   (1<<16)

Definition at line 30 of file r300_reg.h.

#define R300_SURF_TILE_MICRO   (2<<16)

Definition at line 31 of file r300_reg.h.

#define R300_TX_BORDER_COLOR_0   0x45C0

Definition at line 963 of file r300_reg.h.

#define R300_TX_CHROMA_KEY_0   0x4580

Definition at line 961 of file r300_reg.h.

#define R300_TX_CLAMP   4

Definition at line 801 of file r300_reg.h.

#define R300_TX_CLAMP_TO_BORDER   6

Definition at line 803 of file r300_reg.h.

#define R300_TX_CLAMP_TO_EDGE   2

Definition at line 802 of file r300_reg.h.

#define R300_TX_ENABLE   0x4104

Definition at line 526 of file r300_reg.h.

#define R300_TX_ENABLE_0   (1 << 0)

Definition at line 527 of file r300_reg.h.

#define R300_TX_ENABLE_1   (1 << 1)

Definition at line 528 of file r300_reg.h.

#define R300_TX_ENABLE_10   (1 << 10)

Definition at line 537 of file r300_reg.h.

#define R300_TX_ENABLE_11   (1 << 11)

Definition at line 538 of file r300_reg.h.

#define R300_TX_ENABLE_12   (1 << 12)

Definition at line 539 of file r300_reg.h.

#define R300_TX_ENABLE_13   (1 << 13)

Definition at line 540 of file r300_reg.h.

#define R300_TX_ENABLE_14   (1 << 14)

Definition at line 541 of file r300_reg.h.

#define R300_TX_ENABLE_15   (1 << 15)

Definition at line 542 of file r300_reg.h.

#define R300_TX_ENABLE_2   (1 << 2)

Definition at line 529 of file r300_reg.h.

#define R300_TX_ENABLE_3   (1 << 3)

Definition at line 530 of file r300_reg.h.

#define R300_TX_ENABLE_4   (1 << 4)

Definition at line 531 of file r300_reg.h.

#define R300_TX_ENABLE_5   (1 << 5)

Definition at line 532 of file r300_reg.h.

#define R300_TX_ENABLE_6   (1 << 6)

Definition at line 533 of file r300_reg.h.

#define R300_TX_ENABLE_7   (1 << 7)

Definition at line 534 of file r300_reg.h.

#define R300_TX_ENABLE_8   (1 << 8)

Definition at line 535 of file r300_reg.h.

#define R300_TX_ENABLE_9   (1 << 9)

Definition at line 536 of file r300_reg.h.

#define R300_TX_FILTER1_0   0x4440

Definition at line 836 of file r300_reg.h.

#define R300_TX_FILTER_0   0x4400

Definition at line 798 of file r300_reg.h.

#define R300_TX_FLUSH   0x0

Definition at line 523 of file r300_reg.h.

#define R300_TX_FORMAT_0   0x44C0

Definition at line 863 of file r300_reg.h.

#define R300_TX_FORMAT_A8R8G8B8   0x13 /* no swizzle */

Definition at line 887 of file r300_reg.h.

#define R300_TX_FORMAT_A_SHIFT   9

Definition at line 927 of file r300_reg.h.

#define R300_TX_FORMAT_ALPHA_1CH   0x000

Definition at line 907 of file r300_reg.h.

#define R300_TX_FORMAT_ALPHA_2CH   0x200

Definition at line 908 of file r300_reg.h.

#define R300_TX_FORMAT_ALPHA_4CH   0x600

Definition at line 909 of file r300_reg.h.

#define R300_TX_FORMAT_ALPHA_NONE   0xA00

Definition at line 910 of file r300_reg.h.

#define R300_TX_FORMAT_ATI2N   0x1F

Definition at line 903 of file r300_reg.h.

#define R300_TX_FORMAT_B8G8_B8G8   0x14 /* no swizzle */

Definition at line 888 of file r300_reg.h.

#define R300_TX_FORMAT_B_SHIFT   18

Definition at line 924 of file r300_reg.h.

#define R300_TX_FORMAT_CONST_W   (8<<5)

Definition at line 942 of file r300_reg.h.

#define R300_TX_FORMAT_CONST_X   (1<<5)

Definition at line 939 of file r300_reg.h.

#define R300_TX_FORMAT_CONST_Y   (2<<5)

Definition at line 940 of file r300_reg.h.

#define R300_TX_FORMAT_CONST_Z   (4<<5)

Definition at line 941 of file r300_reg.h.

#define R300_TX_FORMAT_CUBIC_MAP   (1 << 26)

Definition at line 892 of file r300_reg.h.

#define R300_TX_FORMAT_CUT_W   7

Definition at line 922 of file r300_reg.h.

#define R300_TX_FORMAT_CUT_Z   6

Definition at line 920 of file r300_reg.h.

#define R300_TX_FORMAT_D3DMFT_CxV8U8   0x12 /* no swizzle */

Definition at line 886 of file r300_reg.h.

#define R300_TX_FORMAT_DXT1   0xF

Definition at line 883 of file r300_reg.h.

#define R300_TX_FORMAT_DXT3   0x10

Definition at line 884 of file r300_reg.h.

#define R300_TX_FORMAT_DXT5   0x11

Definition at line 885 of file r300_reg.h.

#define R300_TX_FORMAT_FL_I16   0x18

Definition at line 897 of file r300_reg.h.

#define R300_TX_FORMAT_FL_I16A16   0x19

Definition at line 898 of file r300_reg.h.

#define R300_TX_FORMAT_FL_I32   0x1B

Definition at line 900 of file r300_reg.h.

#define R300_TX_FORMAT_FL_I32A32   0x1C

Definition at line 901 of file r300_reg.h.

#define R300_TX_FORMAT_FL_R16G16B16A16   0x1A

Definition at line 899 of file r300_reg.h.

#define R300_TX_FORMAT_FL_R32G32B32A32   0x1D

Definition at line 902 of file r300_reg.h.

#define R300_TX_FORMAT_G8R8_G8B8   0x15 /* no swizzle */

Definition at line 889 of file r300_reg.h.

#define R300_TX_FORMAT_G_SHIFT   15

Definition at line 925 of file r300_reg.h.

#define R300_TX_FORMAT_ONE   5

Definition at line 918 of file r300_reg.h.

#define R300_TX_FORMAT_R_SHIFT   12

Definition at line 926 of file r300_reg.h.

#define R300_TX_FORMAT_UNK25   (1 << 25) /* no swizzle */

Definition at line 891 of file r300_reg.h.

#define R300_TX_FORMAT_W   3

Definition at line 916 of file r300_reg.h.

#define R300_TX_FORMAT_W16Z16Y16X16   0xE

Definition at line 882 of file r300_reg.h.

#define R300_TX_FORMAT_W1Z5Y5X5   0xB

Definition at line 879 of file r300_reg.h.

#define R300_TX_FORMAT_W2Z10Y10X10   0xD

Definition at line 881 of file r300_reg.h.

#define R300_TX_FORMAT_W4Z4Y4X4   0xA

Definition at line 878 of file r300_reg.h.

#define R300_TX_FORMAT_W8Z8Y8X8   0xC

Definition at line 880 of file r300_reg.h.

#define R300_TX_FORMAT_X   0

Definition at line 913 of file r300_reg.h.

#define R300_TX_FORMAT_X16   0x1

Definition at line 869 of file r300_reg.h.

#define R300_TX_FORMAT_X8   0x0

Definition at line 868 of file r300_reg.h.

#define R300_TX_FORMAT_Y   1

Definition at line 914 of file r300_reg.h.

#define R300_TX_FORMAT_Y16X16   0x4

Definition at line 872 of file r300_reg.h.

#define R300_TX_FORMAT_Y4X4   0x2

Definition at line 870 of file r300_reg.h.

#define R300_TX_FORMAT_Y8X8   0x3

Definition at line 871 of file r300_reg.h.

#define R300_TX_FORMAT_YUV_MODE   0x00800000

Definition at line 944 of file r300_reg.h.

#define R300_TX_FORMAT_Z   2

Definition at line 915 of file r300_reg.h.

#define R300_TX_FORMAT_Z10Y11X11   0x9

Definition at line 877 of file r300_reg.h.

#define R300_TX_FORMAT_Z11Y11X10   0x8

Definition at line 876 of file r300_reg.h.

#define R300_TX_FORMAT_Z3Y3X2   0x5

Definition at line 873 of file r300_reg.h.

#define R300_TX_FORMAT_Z5Y6X5   0x6

Definition at line 874 of file r300_reg.h.

#define R300_TX_FORMAT_Z6Y5X5   0x7

Definition at line 875 of file r300_reg.h.

#define R300_TX_FORMAT_ZERO   4

Definition at line 917 of file r300_reg.h.

#define R300_TX_HEIGHTMASK_MASK   (2047 << 11)

Definition at line 857 of file r300_reg.h.

#define R300_TX_HEIGHTMASK_SHIFT   11

Definition at line 856 of file r300_reg.h.

#define R300_TX_INVALTAGS   0x4100

Definition at line 522 of file r300_reg.h.

#define R300_TX_MAG_FILTER_LINEAR   (2 << 9)

Definition at line 811 of file r300_reg.h.

#define R300_TX_MAG_FILTER_MASK   (3 << 9)

Definition at line 812 of file r300_reg.h.

#define R300_TX_MAG_FILTER_NEAREST   (1 << 9)

Definition at line 810 of file r300_reg.h.

#define R300_TX_MAX_ANISO_16_TO_1   (8 << 21)

Definition at line 833 of file r300_reg.h.

#define R300_TX_MAX_ANISO_1_TO_1   (0 << 21)

Definition at line 829 of file r300_reg.h.

#define R300_TX_MAX_ANISO_2_TO_1   (2 << 21)

Definition at line 830 of file r300_reg.h.

#define R300_TX_MAX_ANISO_4_TO_1   (4 << 21)

Definition at line 831 of file r300_reg.h.

#define R300_TX_MAX_ANISO_8_TO_1   (6 << 21)

Definition at line 832 of file r300_reg.h.

#define R300_TX_MAX_ANISO_MASK   (14 << 21)

Definition at line 834 of file r300_reg.h.

#define R300_TX_MAX_MIP_LEVEL_MASK   (0xf << 26)

Definition at line 860 of file r300_reg.h.

#define R300_TX_MAX_MIP_LEVEL_SHIFT   26

Definition at line 859 of file r300_reg.h.

#define R300_TX_MIN_FILTER_ANISO_LINEAR   (0 << 13)

Definition at line 825 of file r300_reg.h.

#define R300_TX_MIN_FILTER_ANISO_NEAREST   (0 << 13)

Definition at line 824 of file r300_reg.h.

#define R300_TX_MIN_FILTER_ANISO_NEAREST_MIP_LINEAR   (2 << 13)

Definition at line 827 of file r300_reg.h.

#define R300_TX_MIN_FILTER_ANISO_NEAREST_MIP_NEAREST   (1 << 13)

Definition at line 826 of file r300_reg.h.

#define R300_TX_MIN_FILTER_LINEAR   (2 << 11)

Definition at line 814 of file r300_reg.h.

#define R300_TX_MIN_FILTER_LINEAR_MIP_LINEAR   (10 << 11)

Definition at line 818 of file r300_reg.h.

#define R300_TX_MIN_FILTER_LINEAR_MIP_NEAREST   (6 << 11)

Definition at line 817 of file r300_reg.h.

#define R300_TX_MIN_FILTER_MASK   ( (15 << 11) | (3 << 13) )

Definition at line 828 of file r300_reg.h.

#define R300_TX_MIN_FILTER_NEAREST   (1 << 11)

Definition at line 813 of file r300_reg.h.

#define R300_TX_MIN_FILTER_NEAREST_MIP_LINEAR   (9 << 11)

Definition at line 816 of file r300_reg.h.

#define R300_TX_MIN_FILTER_NEAREST_MIP_NEAREST   (5 << 11)

Definition at line 815 of file r300_reg.h.

#define R300_TX_MIRRORED   1

Definition at line 800 of file r300_reg.h.

#define R300_TX_OFFSET_0   0x4540

Definition at line 947 of file r300_reg.h.

#define R300_TX_PITCH_0   0x4500 /* obvious missing in gap */

Definition at line 946 of file r300_reg.h.

#define R300_TX_REPEAT   0

Definition at line 799 of file r300_reg.h.

#define R300_TX_SIZE_0   0x4480

Definition at line 853 of file r300_reg.h.

#define R300_TX_SIZE_PROJECTED   (1<<30)

Definition at line 861 of file r300_reg.h.

#define R300_TX_SIZE_TXPITCH_EN   (1<<31)

Definition at line 862 of file r300_reg.h.

#define R300_TX_TRI_PERF_0_8   (0<<15)

Definition at line 847 of file r300_reg.h.

#define R300_TX_TRI_PERF_1_4   (2<<15)

Definition at line 849 of file r300_reg.h.

#define R300_TX_TRI_PERF_1_8   (1<<15)

Definition at line 848 of file r300_reg.h.

#define R300_TX_TRI_PERF_3_8   (3<<15)

Definition at line 850 of file r300_reg.h.

#define R300_TX_UNK23   (1 << 23)

Definition at line 858 of file r300_reg.h.

#define R300_TX_WIDTHMASK_MASK   (2047 << 0)

Definition at line 855 of file r300_reg.h.

#define R300_TX_WIDTHMASK_SHIFT   0

Definition at line 854 of file r300_reg.h.

#define R300_TX_WRAP_Q_MASK   (7 << 6)

Definition at line 809 of file r300_reg.h.

#define R300_TX_WRAP_Q_SHIFT   6

Definition at line 808 of file r300_reg.h.

#define R300_TX_WRAP_S_MASK   (7 << 0)

Definition at line 805 of file r300_reg.h.

#define R300_TX_WRAP_S_SHIFT   0

Definition at line 804 of file r300_reg.h.

#define R300_TX_WRAP_T_MASK   (7 << 3)

Definition at line 807 of file r300_reg.h.

#define R300_TX_WRAP_T_SHIFT   3

Definition at line 806 of file r300_reg.h.

#define R300_TXO_ENDIAN_BYTE_SWAP   (1 << 0)

Definition at line 950 of file r300_reg.h.

#define R300_TXO_ENDIAN_HALFDW_SWAP   (3 << 0)

Definition at line 952 of file r300_reg.h.

#define R300_TXO_ENDIAN_NO_SWAP   (0 << 0)

Definition at line 949 of file r300_reg.h.

#define R300_TXO_ENDIAN_WORD_SWAP   (2 << 0)

Definition at line 951 of file r300_reg.h.

#define R300_TXO_MACRO_TILE   (1 << 2)

Definition at line 953 of file r300_reg.h.

#define R300_TXO_MICRO_TILE   (1 << 3)

Definition at line 954 of file r300_reg.h.

#define R300_TXO_MICRO_TILE_SQUARE   (2 << 3)

Definition at line 955 of file r300_reg.h.

#define R300_TXO_OFFSET_MASK   0xffffffe0

Definition at line 956 of file r300_reg.h.

#define R300_TXO_OFFSET_SHIFT   5

Definition at line 957 of file r300_reg.h.

#define R300_US_OFIFO_SIZE_SHIFT   12

Definition at line 486 of file r300_reg.h.

#define R300_US_RAM_SIZE_SHIFT   10

Definition at line 492 of file r300_reg.h.

#define R300_US_WFIFO_SIZE_SHIFT   14

Definition at line 487 of file r300_reg.h.

#define R300_VAP_CLIP_X_0   0x2220

Definition at line 314 of file r300_reg.h.

#define R300_VAP_CLIP_X_1   0x2224

Definition at line 315 of file r300_reg.h.

#define R300_VAP_CLIP_Y_0   0x2228

Definition at line 316 of file r300_reg.h.

#define R300_VAP_CLIP_Y_1   0x2230

Definition at line 317 of file r300_reg.h.

#define R300_VAP_CNTL   0x2080

Definition at line 75 of file r300_reg.h.

#define R300_VAP_CNTL_STATUS   0x2140

Definition at line 151 of file r300_reg.h.

#define R300_VAP_INPUT_CNTL_0   0x2180

Definition at line 211 of file r300_reg.h.

#define R300_VAP_INPUT_CNTL_1   0x2184

Definition at line 213 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_0   0x2150

Definition at line 183 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_1   0x2154

Definition at line 196 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_2   0x2158

Definition at line 197 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_3   0x215C

Definition at line 198 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_4   0x2160

Definition at line 199 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_5   0x2164

Definition at line 200 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_6   0x2168

Definition at line 201 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_0_7   0x216C

Definition at line 202 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_0   0x21E0

Definition at line 235 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_1   0x21E4

Definition at line 248 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_2   0x21E8

Definition at line 249 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_3   0x21EC

Definition at line 250 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_4   0x21F0

Definition at line 251 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_5   0x21F4

Definition at line 252 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_6   0x21F8

Definition at line 253 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_1_7   0x21FC

Definition at line 254 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_END   (1 << 13)

Definition at line 191 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_IDX_MASK   (31 << 8) /* GUESS */

Definition at line 190 of file r300_reg.h.

#define R300_VAP_INPUT_ROUTE_IDX_SHIFT   8

Definition at line 189 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_0   0x2090

Definition at line 113 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_1_PRESENT   (1<<2) /* GUESS */

Definition at line 116 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_2_PRESENT   (1<<3) /* GUESS */

Definition at line 117 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_3_PRESENT   (1<<4) /* GUESS */

Definition at line 118 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_0__COLOR_PRESENT   (1<<1)

Definition at line 115 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_0__POS_PRESENT   (1<<0)

Definition at line 114 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_0__PT_SIZE_PRESENT   (1<<16) /* GUESS */

Definition at line 119 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1   0x2094

Definition at line 121 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_0_COMP_CNT_SHIFT   0

Definition at line 124 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_1_COMP_CNT_SHIFT   3

Definition at line 125 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_2_COMP_CNT_SHIFT   6

Definition at line 126 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_3_COMP_CNT_SHIFT   9

Definition at line 127 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_4_COMP_CNT_SHIFT   12

Definition at line 128 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_5_COMP_CNT_SHIFT   15

Definition at line 129 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_6_COMP_CNT_SHIFT   18

Definition at line 130 of file r300_reg.h.

#define R300_VAP_OUTPUT_VTX_FMT_1__TEX_7_COMP_CNT_SHIFT   21

Definition at line 131 of file r300_reg.h.

#define R300_VAP_PVS_CNTL_1   0x22D0

Definition at line 352 of file r300_reg.h.

#define R300_VAP_PVS_CNTL_2   0x22D4

Definition at line 357 of file r300_reg.h.

#define R300_VAP_PVS_CNTL_3   0x22D8

Definition at line 360 of file r300_reg.h.

#define R300_VAP_PVS_STATE_FLUSH_REG   0x2284

Definition at line 326 of file r300_reg.h.

#define R300_VAP_PVS_UPLOAD_ADDRESS   0x2200

Definition at line 286 of file r300_reg.h.

#define R300_VAP_PVS_UPLOAD_DATA   0x2208

Definition at line 293 of file r300_reg.h.

#define R300_VAP_TCL_BYPASS   (1 << 8)

Definition at line 155 of file r300_reg.h.

#define R300_VAP_UNKNOWN_221C   0x221C

Definition at line 303 of file r300_reg.h.

#define R300_VAP_UNKNOWN_2288   0x2288

Definition at line 329 of file r300_reg.h.

#define R300_VAP_VF_CNTL   0x2084

Definition at line 80 of file r300_reg.h.

#define R300_VAP_VF_CNTL__COLOR_ORDER__SHIFT   6

Definition at line 103 of file r300_reg.h.

#define R300_VAP_VF_CNTL__INDEX_SIZE_32bit   (1<<11)

Definition at line 108 of file r300_reg.h.

#define R300_VAP_VF_CNTL__NUM_VERTICES__SHIFT   16

Definition at line 110 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_LINE_LOOP   (12<<0)

Definition at line 89 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_LINE_STRIP   (3<<0)

Definition at line 85 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_LINES   (2<<0)

Definition at line 84 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_NONE   (0<<0)

Definition at line 82 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_POINTS   (1<<0)

Definition at line 83 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_POLYGON   (15<<0)

Definition at line 92 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_QUAD_STRIP   (14<<0)

Definition at line 91 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_QUADS   (13<<0)

Definition at line 90 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_TRIANGLE_FAN   (5<<0)

Definition at line 87 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_TRIANGLE_STRIP   (6<<0)

Definition at line 88 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_TRIANGLES   (4<<0)

Definition at line 86 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_TYPE__SHIFT   0

Definition at line 81 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_WALK__SHIFT   4

Definition at line 94 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_WALK_INDICES   (1<<4)

Definition at line 98 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_WALK_STATE_BASED   (0<<4)

Definition at line 97 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_WALK_VERTEX_EMBEDDED   (3<<4)

Definition at line 100 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PRIM_WALK_VERTEX_LIST   (2<<4)

Definition at line 99 of file r300_reg.h.

#define R300_VAP_VF_CNTL__PROG_STREAM_ENA__SHIFT   10

Definition at line 105 of file r300_reg.h.

#define R300_VAP_VF_CNTL__TCL_OUTPUT_CTL_ENA__SHIFT   9

Definition at line 104 of file r300_reg.h.

#define R300_VAP_VTX_COLOR_B   0x246C

Definition at line 369 of file r300_reg.h.

#define R300_VAP_VTX_COLOR_G   0x2468

Definition at line 368 of file r300_reg.h.

#define R300_VAP_VTX_COLOR_PKD   0x249C /* RGBA */

Definition at line 372 of file r300_reg.h.

#define R300_VAP_VTX_COLOR_R   0x2464

Definition at line 367 of file r300_reg.h.

#define R300_VAP_VTX_END_OF_PKT   0x24AC

Definition at line 377 of file r300_reg.h.

#define R300_VAP_VTX_POS_0_X_1   0x2490 /* used for glVertex2*() */

Definition at line 370 of file r300_reg.h.

#define R300_VAP_VTX_POS_0_X_2   0x24A0 /* used for glVertex3*() */

Definition at line 373 of file r300_reg.h.

#define R300_VAP_VTX_POS_0_Y_1   0x2494

Definition at line 371 of file r300_reg.h.

#define R300_VAP_VTX_POS_0_Y_2   0x24A4

Definition at line 374 of file r300_reg.h.

#define R300_VAP_VTX_POS_0_Z_2   0x24A8

Definition at line 375 of file r300_reg.h.

#define R300_VC_16BIT_SWAP   (1 << 0)

Definition at line 153 of file r300_reg.h.

#define R300_VC_32BIT_SWAP   (2 << 0)

Definition at line 154 of file r300_reg.h.

#define R300_VC_NO_SWAP   (0 << 0)

Definition at line 152 of file r300_reg.h.

#define R300_VPI_IN_NEG_W   (1 << 28)

Definition at line 1686 of file r300_reg.h.

#define R300_VPI_IN_NEG_X   (1 << 25)

Definition at line 1683 of file r300_reg.h.

#define R300_VPI_IN_NEG_Y   (1 << 26)

Definition at line 1684 of file r300_reg.h.

#define R300_VPI_IN_NEG_Z   (1 << 27)

Definition at line 1685 of file r300_reg.h.

#define R300_VPI_IN_REG_CLASS_ATTRIBUTE   (1 << 0)

Definition at line 1657 of file r300_reg.h.

#define R300_VPI_IN_REG_CLASS_MASK   (31 << 0)

Definition at line 1660 of file r300_reg.h.

#define R300_VPI_IN_REG_CLASS_NONE   (9 << 0)

Definition at line 1659 of file r300_reg.h.

#define R300_VPI_IN_REG_CLASS_PARAMETER   (2 << 0)

Definition at line 1658 of file r300_reg.h.

#define R300_VPI_IN_REG_CLASS_TEMPORARY   (0 << 0)

Definition at line 1656 of file r300_reg.h.

#define R300_VPI_IN_REG_INDEX_MASK   (255 << 5)

Definition at line 1664 of file r300_reg.h.

#define R300_VPI_IN_REG_INDEX_SHIFT   5

Definition at line 1662 of file r300_reg.h.

#define R300_VPI_IN_SELECT_MASK   7

Definition at line 1676 of file r300_reg.h.

#define R300_VPI_IN_SELECT_ONE   5

Definition at line 1675 of file r300_reg.h.

#define R300_VPI_IN_SELECT_W   3

Definition at line 1673 of file r300_reg.h.

#define R300_VPI_IN_SELECT_X   0

Definition at line 1670 of file r300_reg.h.

#define R300_VPI_IN_SELECT_Y   1

Definition at line 1671 of file r300_reg.h.

#define R300_VPI_IN_SELECT_Z   2

Definition at line 1672 of file r300_reg.h.

#define R300_VPI_IN_SELECT_ZERO   4

Definition at line 1674 of file r300_reg.h.

#define R300_VPI_IN_W_SHIFT   22

Definition at line 1681 of file r300_reg.h.

#define R300_VPI_IN_X_SHIFT   13

Definition at line 1678 of file r300_reg.h.

#define R300_VPI_IN_Y_SHIFT   16

Definition at line 1679 of file r300_reg.h.

#define R300_VPI_IN_Z_SHIFT   19

Definition at line 1680 of file r300_reg.h.

#define R300_VPI_OUT_OP_ADD   (3 << 0)

Definition at line 1615 of file r300_reg.h.

#define R300_VPI_OUT_OP_ARL   (13 << 0)

Definition at line 1625 of file r300_reg.h.

#define R300_VPI_OUT_OP_DOT   (1 << 0)

Definition at line 1613 of file r300_reg.h.

#define R300_VPI_OUT_OP_DST   (5 << 0)

Definition at line 1617 of file r300_reg.h.

#define R300_VPI_OUT_OP_EX2   (75 << 0)

Definition at line 1636 of file r300_reg.h.

#define R300_VPI_OUT_OP_EXP   (65 << 0)

Definition at line 1626 of file r300_reg.h.

#define R300_VPI_OUT_OP_FRC   (6 << 0)

Definition at line 1618 of file r300_reg.h.

#define R300_VPI_OUT_OP_LG2   (76 << 0)

Definition at line 1637 of file r300_reg.h.

#define R300_VPI_OUT_OP_LIT   (68 << 0)

Definition at line 1630 of file r300_reg.h.

#define R300_VPI_OUT_OP_LOG   (66 << 0)

Definition at line 1627 of file r300_reg.h.

#define R300_VPI_OUT_OP_MAD   (4 << 0)

Definition at line 1616 of file r300_reg.h.

#define R300_VPI_OUT_OP_MAD_2   (128 << 0)

Definition at line 1638 of file r300_reg.h.

#define R300_VPI_OUT_OP_MAX   (7 << 0)

Definition at line 1619 of file r300_reg.h.

#define R300_VPI_OUT_OP_MIN   (8 << 0)

Definition at line 1620 of file r300_reg.h.

#define R300_VPI_OUT_OP_MUL   (2 << 0)

Definition at line 1614 of file r300_reg.h.

#define R300_VPI_OUT_OP_POW   (69 << 0)

Definition at line 1631 of file r300_reg.h.

#define R300_VPI_OUT_OP_RCP   (70 << 0)

Definition at line 1632 of file r300_reg.h.

#define R300_VPI_OUT_OP_RSQ   (72 << 0)

Definition at line 1633 of file r300_reg.h.

#define R300_VPI_OUT_OP_SGE   (9 << 0)

Definition at line 1621 of file r300_reg.h.

#define R300_VPI_OUT_OP_SLT   (10 << 0)

Definition at line 1622 of file r300_reg.h.

#define R300_VPI_OUT_OP_UNK12   (12 << 0)

Definition at line 1624 of file r300_reg.h.

#define R300_VPI_OUT_OP_UNK129   (129 << 0)

Definition at line 1640 of file r300_reg.h.

#define R300_VPI_OUT_OP_UNK67   (67 << 0)

Definition at line 1629 of file r300_reg.h.

#define R300_VPI_OUT_OP_UNK73   (73 << 0)

Definition at line 1635 of file r300_reg.h.

#define R300_VPI_OUT_REG_CLASS_ADDR   (1 << 8)

Definition at line 1643 of file r300_reg.h.

#define R300_VPI_OUT_REG_CLASS_MASK   (31 << 8)

Definition at line 1645 of file r300_reg.h.

#define R300_VPI_OUT_REG_CLASS_RESULT   (2 << 8)

Definition at line 1644 of file r300_reg.h.

#define R300_VPI_OUT_REG_CLASS_TEMPORARY   (0 << 8)

Definition at line 1642 of file r300_reg.h.

#define R300_VPI_OUT_REG_INDEX_MASK   (31 << 13)

Definition at line 1649 of file r300_reg.h.

#define R300_VPI_OUT_REG_INDEX_SHIFT   13

Definition at line 1647 of file r300_reg.h.

#define R300_VPI_OUT_WRITE_W   (1 << 23)

Definition at line 1654 of file r300_reg.h.

#define R300_VPI_OUT_WRITE_X   (1 << 20)

Definition at line 1651 of file r300_reg.h.

#define R300_VPI_OUT_WRITE_Y   (1 << 21)

Definition at line 1652 of file r300_reg.h.

#define R300_VPI_OUT_WRITE_Z   (1 << 22)

Definition at line 1653 of file r300_reg.h.

#define R300_VPORT_X_OFFSET_ENA   0x00000002

Definition at line 136 of file r300_reg.h.

#define R300_VPORT_X_SCALE_ENA   0x00000001

Definition at line 135 of file r300_reg.h.

#define R300_VPORT_Y_OFFSET_ENA   0x00000008

Definition at line 138 of file r300_reg.h.

#define R300_VPORT_Y_SCALE_ENA   0x00000004

Definition at line 137 of file r300_reg.h.

#define R300_VPORT_Z_OFFSET_ENA   0x00000020

Definition at line 140 of file r300_reg.h.

#define R300_VPORT_Z_SCALE_ENA   0x00000010

Definition at line 139 of file r300_reg.h.

#define R300_VTX_ST_DENORMALIZED   0x00001000

Definition at line 145 of file r300_reg.h.

#define R300_VTX_W0_FMT   0x00000400

Definition at line 143 of file r300_reg.h.

#define R300_VTX_W0_NORMALIZE   0x00000800

Definition at line 144 of file r300_reg.h.

#define R300_VTX_XY_FMT   0x00000100

Definition at line 141 of file r300_reg.h.

#define R300_VTX_Z_FMT   0x00000200

Definition at line 142 of file r300_reg.h.

#define R300_WR_COMP_DISABLE   (0 << 4)

Definition at line 1471 of file r300_reg.h.

#define R300_WR_COMP_ENABLE   (1 << 4)

Definition at line 1472 of file r300_reg.h.

#define R300_Z_ENABLE   (1 << 1)

Definition at line 1393 of file r300_reg.h.

#define R300_Z_FUNC_SHIFT   0

Definition at line 1418 of file r300_reg.h.

#define R300_Z_SIGNED_COMPARE   (1 << 3)

Definition at line 1395 of file r300_reg.h.

#define R300_Z_WRITE_ENABLE   (1 << 2)

Definition at line 1394 of file r300_reg.h.

#define R300_ZB_BW_CNTL   0x4f1c

Definition at line 1462 of file r300_reg.h.

#define R300_ZB_CB_CLEAR_CACHE_LINEAR   (1 << 5)

Definition at line 1474 of file r300_reg.h.

#define R300_ZB_CB_CLEAR_RMW   (0 << 5)

Definition at line 1473 of file r300_reg.h.

#define R300_ZB_CNTL   0x4F00

Definition at line 1391 of file r300_reg.h.

#define R300_ZB_DEPTHCLEARVALUE   0x4f28

Definition at line 1526 of file r300_reg.h.

#define R300_ZB_DEPTHOFFSET   0x4f20

Definition at line 1510 of file r300_reg.h.

#define R300_ZB_DEPTHPITCH   0x4f24

Definition at line 1513 of file r300_reg.h.

#define R300_ZB_DEPTHXY_OFFSET   0x4f60

Definition at line 1556 of file r300_reg.h.

#define R300_ZB_FORMAT   0x4f10

Definition at line 1440 of file r300_reg.h.

#define R300_ZB_HIZ_DWORD   0x4f4c

Definition at line 1541 of file r300_reg.h.

#define R300_ZB_HIZ_OFFSET   0x4f44

Definition at line 1535 of file r300_reg.h.

#define R300_ZB_HIZ_PITCH   0x4f54

Definition at line 1547 of file r300_reg.h.

#define R300_ZB_HIZ_RDINDEX   0x4f50

Definition at line 1544 of file r300_reg.h.

#define R300_ZB_HIZ_WRINDEX   0x4f48

Definition at line 1538 of file r300_reg.h.

#define R300_ZB_STENCILREFMASK   0x4f08

Definition at line 1430 of file r300_reg.h.

#define R300_ZB_ZCACHE_CTLSTAT   0x4f18

Definition at line 1454 of file r300_reg.h.

#define R300_ZB_ZCACHE_CTLSTAT_ZC_BUSY_BUSY   (1 << 31)

Definition at line 1460 of file r300_reg.h.

#define R300_ZB_ZCACHE_CTLSTAT_ZC_BUSY_IDLE   (0 << 31)

Definition at line 1459 of file r300_reg.h.

#define R300_ZB_ZCACHE_CTLSTAT_ZC_FLUSH_FLUSH_AND_FREE   (1 << 0)

Definition at line 1456 of file r300_reg.h.

#define R300_ZB_ZCACHE_CTLSTAT_ZC_FLUSH_NO_EFFECT   (0 << 0)

Definition at line 1455 of file r300_reg.h.

#define R300_ZB_ZCACHE_CTLSTAT_ZC_FREE_FREE   (1 << 1)

Definition at line 1458 of file r300_reg.h.

#define R300_ZB_ZCACHE_CTLSTAT_ZC_FREE_NO_EFFECT   (0 << 1)

Definition at line 1457 of file r300_reg.h.

#define R300_ZB_ZMASK_DWORD   0x4f3c

Definition at line 1531 of file r300_reg.h.

#define R300_ZB_ZMASK_OFFSET   0x4f30

Definition at line 1528 of file r300_reg.h.

#define R300_ZB_ZMASK_PITCH   0x4f34

Definition at line 1529 of file r300_reg.h.

#define R300_ZB_ZMASK_RDINDEX   0x4f40

Definition at line 1532 of file r300_reg.h.

#define R300_ZB_ZMASK_WRINDEX   0x4f38

Definition at line 1530 of file r300_reg.h.

#define R300_ZB_ZPASS_ADDR   0x4f5c

Definition at line 1787 of file r300_reg.h.

#define R300_ZB_ZPASS_ADDR   0x4f5c

Definition at line 1787 of file r300_reg.h.

#define R300_ZB_ZPASS_DATA   0x4f58

Definition at line 1786 of file r300_reg.h.

#define R300_ZB_ZPASS_DATA   0x4f58

Definition at line 1786 of file r300_reg.h.

#define R300_ZB_ZSTENCILCNTL   0x4f04

Definition at line 1398 of file r300_reg.h.

#define R300_ZB_ZTOP   0x4F14

Definition at line 1448 of file r300_reg.h.

#define R300_ZS_ALWAYS   7

Definition at line 1407 of file r300_reg.h.

#define R300_ZS_DECR   4

Definition at line 1414 of file r300_reg.h.

#define R300_ZS_DECR_WRAP   7

Definition at line 1417 of file r300_reg.h.

#define R300_ZS_EQUAL   3

Definition at line 1403 of file r300_reg.h.

#define R300_ZS_GEQUAL   4

Definition at line 1404 of file r300_reg.h.

#define R300_ZS_GREATER   5

Definition at line 1405 of file r300_reg.h.

#define R300_ZS_INCR   3

Definition at line 1413 of file r300_reg.h.

#define R300_ZS_INCR_WRAP   6

Definition at line 1416 of file r300_reg.h.

#define R300_ZS_INVERT   5

Definition at line 1415 of file r300_reg.h.

#define R300_ZS_KEEP   0

Definition at line 1410 of file r300_reg.h.

#define R300_ZS_LEQUAL   2

Definition at line 1402 of file r300_reg.h.

#define R300_ZS_LESS   1

Definition at line 1401 of file r300_reg.h.

#define R300_ZS_MASK   7

Definition at line 1408 of file r300_reg.h.

#define R300_ZS_NEVER   0

Definition at line 1400 of file r300_reg.h.

#define R300_ZS_NOTEQUAL   6

Definition at line 1406 of file r300_reg.h.

#define R300_ZS_REPLACE   2

Definition at line 1412 of file r300_reg.h.

#define R300_ZS_ZERO   1

Definition at line 1411 of file r300_reg.h.

#define R300_ZTOP_DISABLE   (0 << 0)

Definition at line 1449 of file r300_reg.h.

#define R300_ZTOP_ENABLE   (1 << 0)

Definition at line 1450 of file r300_reg.h.

#define R500_BMASK_DISABLE   (1 << 10)

Definition at line 1484 of file r300_reg.h.

#define R500_BMASK_ENABLE   (0 << 10)

Definition at line 1483 of file r300_reg.h.

#define R500_CONTIGUOUS_6XAA_SAMPLES_DISABLE   (1 << 17)

Definition at line 1498 of file r300_reg.h.

#define R500_CONTIGUOUS_6XAA_SAMPLES_ENABLE   (0 << 17)

Definition at line 1497 of file r300_reg.h.

#define R500_COVERED_PTR_MASKING_DISABLE   (0 << 18)

Definition at line 1501 of file r300_reg.h.

#define R500_COVERED_PTR_MASKING_ENABLE   (1 << 18)

Definition at line 1502 of file r300_reg.h.

#define R500_GA_US_VECTOR_DATA   0x4254

Definition at line 1771 of file r300_reg.h.

#define R500_GA_US_VECTOR_INDEX   0x4250

Definition at line 1770 of file r300_reg.h.

#define R500_HIZ_EQUAL_REJECT_DISABLE   (0 << 11)

Definition at line 1485 of file r300_reg.h.

#define R500_HIZ_EQUAL_REJECT_ENABLE   (1 << 11)

Definition at line 1486 of file r300_reg.h.

#define R500_HIZ_FP_EXP_BITS_1   (1 << 12)

Definition at line 1488 of file r300_reg.h.

#define R500_HIZ_FP_EXP_BITS_2   (2 << 12)

Definition at line 1489 of file r300_reg.h.

#define R500_HIZ_FP_EXP_BITS_3   (3 << 12)

Definition at line 1490 of file r300_reg.h.

#define R500_HIZ_FP_EXP_BITS_4   (4 << 12)

Definition at line 1491 of file r300_reg.h.

#define R500_HIZ_FP_EXP_BITS_5   (5 << 12)

Definition at line 1492 of file r300_reg.h.

#define R500_HIZ_FP_EXP_BITS_DISABLE   (0 << 12)

Definition at line 1487 of file r300_reg.h.

#define R500_HIZ_FP_INVERT_LEADING_ONES   (0 << 15)

Definition at line 1493 of file r300_reg.h.

#define R500_HIZ_FP_INVERT_LEADING_ZEROS   (1 << 15)

Definition at line 1494 of file r300_reg.h.

#define R500_OP_FIFO_SIZE_EIGTHS   (4 << 0)

Definition at line 1567 of file r300_reg.h.

#define R500_OP_FIFO_SIZE_FULL   (0 << 0)

Definition at line 1564 of file r300_reg.h.

#define R500_OP_FIFO_SIZE_HALF   (1 << 0)

Definition at line 1565 of file r300_reg.h.

#define R500_OP_FIFO_SIZE_QUATER   (2 << 0)

Definition at line 1566 of file r300_reg.h.

#define R500_PEQ_PACKING_DISABLE   (0 << 18)

Definition at line 1499 of file r300_reg.h.

#define R500_PEQ_PACKING_ENABLE   (1 << 18)

Definition at line 1500 of file r300_reg.h.

#define R500_RB3D_COLOR_CLEAR_VALUE_AR   0x46c0

Definition at line 1781 of file r300_reg.h.

#define R500_RB3D_CONSTANT_COLOR_AR   0x4ef8

Definition at line 1782 of file r300_reg.h.

#define R500_RS_INST_0   0x4320

Definition at line 1774 of file r300_reg.h.

#define R500_RS_IP_0   0x4074

Definition at line 1773 of file r300_reg.h.

#define R500_SEQUAL_OPTIMIZE_DISABLE   (1 << 8)

Definition at line 1481 of file r300_reg.h.

#define R500_SEQUAL_OPTIMIZE_ENABLE   (0 << 8)

Definition at line 1480 of file r300_reg.h.

#define R500_STENCILMASK_MASK   0x0000ff00

Definition at line 1575 of file r300_reg.h.

#define R500_STENCILMASK_SHIFT   8

Definition at line 1574 of file r300_reg.h.

#define R500_STENCILREF_MASK   0x000000ff

Definition at line 1573 of file r300_reg.h.

#define R500_STENCILREF_SHIFT   0

Definition at line 1572 of file r300_reg.h.

#define R500_STENCILWRITEMASK_MASK   0x00ff0000

Definition at line 1577 of file r300_reg.h.

#define R500_STENCILWRITEMASK_SHIFT   16

Definition at line 1576 of file r300_reg.h.

#define R500_TILE_OVERWRITE_RECOMPRESSION_DISABLE   (1 << 16)

Definition at line 1496 of file r300_reg.h.

#define R500_TILE_OVERWRITE_RECOMPRESSION_ENABLE   (0 << 16)

Definition at line 1495 of file r300_reg.h.

#define R500_US_CODE_ADDR   0x4630

Definition at line 1779 of file r300_reg.h.

#define R500_US_CONFIG   0x4600

Definition at line 1776 of file r300_reg.h.

#define R500_US_FC_CTRL   0x4624

Definition at line 1778 of file r300_reg.h.

#define R500_VAP_INDEX_OFFSET   0x208c

Definition at line 1768 of file r300_reg.h.

#define R500_ZB_FIFO_SIZE   0x4fd0

Definition at line 1563 of file r300_reg.h.

#define R500_ZB_STENCILREFMASK_BF   0x4fd4

Definition at line 1571 of file r300_reg.h.

#define R500_ZEQUAL_OPTIMIZE_DISABLE   (1 << 7)

Definition at line 1479 of file r300_reg.h.

#define R500_ZEQUAL_OPTIMIZE_ENABLE   (0 << 7)

Definition at line 1478 of file r300_reg.h.

#define RV530_FG_ZBREG_DEST   0x4be8

Definition at line 1785 of file r300_reg.h.