summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorHenri Verbeet <[email protected]>2011-03-07 21:15:03 +0100
committerHenri Verbeet <[email protected]>2011-03-07 21:48:21 +0100
commiteac50295fccb983281423e825e57ab4a2a5bbbfb (patch)
tree22edaa31e4703ad2a1ba10cec9d233ed62dff9c1 /src/gallium/drivers/r600/r600_pipe.c
parenta8bde5c47e1e8df13b408e44a2ae79edffd5ebed (diff)
r600g: Constant buffers can contain up to 4096 constants.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 60838578f29..9964bb39102 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -394,7 +394,7 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
case PIPE_SHADER_CAP_MAX_ADDRS:
return 1; //max native address registers/* FIXME Isn't this equal to TEMPS? */
case PIPE_SHADER_CAP_MAX_CONSTS:
- return 256; //max native parameters
+ return R600_MAX_CONST_BUFFER_SIZE;
case PIPE_SHADER_CAP_MAX_CONST_BUFFERS:
return R600_MAX_CONST_BUFFERS;
case PIPE_SHADER_CAP_MAX_PREDS: