diff options
author | Vadim Girlin <[email protected]> | 2012-01-21 01:37:48 +0400 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-01-21 12:43:14 +0000 |
commit | 54e8dcaad65cbe3603730414fd8d76ac53f89a86 (patch) | |
tree | 76af72a0c0697df506fd19e450174302cbc2a3fc /src/gallium/drivers/r600/r600d.h | |
parent | d649bf51ec787021f7872e2a4c09fb2188c0891b (diff) |
r600g: implement clip vertex v2
Clip planes are uploaded as a constant buffer and used by the vertex
shader to produce corresponding clip distances for hw clipping.
Signed-off-by: Vadim Girlin <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r-- | src/gallium/drivers/r600/r600d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index ccdf82e6533..16330d335ae 100644 --- a/src/gallium/drivers/r600/r600d.h +++ b/src/gallium/drivers/r600/r600d.h @@ -3538,9 +3538,13 @@ #define R_038018_RESOURCE0_WORD6 0x038018 #define R_028140_ALU_CONST_BUFFER_SIZE_PS_0 0x00028140 +#define R_028144_ALU_CONST_BUFFER_SIZE_PS_1 0x00028144 #define R_028180_ALU_CONST_BUFFER_SIZE_VS_0 0x00028180 +#define R_028184_ALU_CONST_BUFFER_SIZE_VS_1 0x00028184 #define R_028940_ALU_CONST_CACHE_PS_0 0x00028940 +#define R_028944_ALU_CONST_CACHE_PS_1 0x00028944 #define R_028980_ALU_CONST_CACHE_VS_0 0x00028980 +#define R_028984_ALU_CONST_CACHE_VS_1 0x00028984 #define R_03CFF0_SQ_VTX_BASE_VTX_LOC 0x03CFF0 #define R_03CFF4_SQ_VTX_START_INST_LOC 0x03CFF4 |