diff options
author | Marek Olšák <[email protected]> | 2012-10-07 22:47:49 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-11 21:21:59 +0200 |
commit | 47b7af63378801a116ad8667b1d57085f3e05640 (patch) | |
tree | 484141c5804f33a90293b526a24af771014023b1 /src/gallium/drivers/r600/r600d.h | |
parent | 0369fc9725ba9a95a532e8f8f2cc8f0e00d0f877 (diff) |
r600g: put user indices in the command stream for small index counts
This improves performance a little bit if there are lots of small indexed
draw commands.
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r-- | src/gallium/drivers/r600/r600d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index 4b46bd7613a..8cb5fea06dc 100644 --- a/src/gallium/drivers/r600/r600d.h +++ b/src/gallium/drivers/r600/r600d.h @@ -988,6 +988,7 @@ #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) #define C_0287F0_SOURCE_SELECT 0xFFFFFFFC #define V_0287F0_DI_SRC_SEL_DMA 0 +#define V_0287F0_DI_SRC_SEL_IMMEDIATE 1 #define V_0287F0_DI_SRC_SEL_AUTO_INDEX 2 #define S_0287F0_MAJOR_MODE(x) (((x) & 0x3) << 2) #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) |