diff options
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 7f1902564cc..2287d6371ff 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -36,7 +36,13 @@ #define R600_NUM_ATOMS 36 -#define R600_MAX_CONST_BUFFERS 2 +#define R600_MAX_USER_CONST_BUFFERS 1 +#define R600_MAX_DRIVER_CONST_BUFFERS 1 +#define R600_MAX_CONST_BUFFERS (R600_MAX_USER_CONST_BUFFERS + R600_MAX_DRIVER_CONST_BUFFERS) + +/* start driver buffers after user buffers */ +#define R600_UCP_CONST_BUFFER (R600_MAX_USER_CONST_BUFFERS) + #define R600_MAX_CONST_BUFFER_SIZE 4096 #ifdef PIPE_ARCH_BIG_ENDIAN |