diff options
author | Dave Airlie <[email protected]> | 2012-12-16 10:26:02 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2013-01-11 22:31:54 +0000 |
commit | 77c10225eef43eb428ebbc80f1dd426e3d33b281 (patch) | |
tree | 7700299bdaf392eed0375aed257cd12406abf6d3 /src/gallium/drivers/r600/r600_pipe.h | |
parent | 199eea4a4be342c255c1e5e22a39b79d316d52a4 (diff) |
r600g: uniform buffer object support
This adds 12 more constant buffers for use as UBOs,
along with adding relative constant fetching for 2D indices.
This with GLSL 1.40 enabled passes all the same tests as softpipe
on my evergreen system.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 5d22c93cf7d..2dcb4734e6b 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -39,7 +39,7 @@ #define R600_TRACE_CS 0 -#define R600_MAX_USER_CONST_BUFFERS 1 +#define R600_MAX_USER_CONST_BUFFERS 13 #define R600_MAX_DRIVER_CONST_BUFFERS 2 #define R600_MAX_CONST_BUFFERS (R600_MAX_USER_CONST_BUFFERS + R600_MAX_DRIVER_CONST_BUFFERS) |