summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-10-25 11:45:47 +0200
committerMarek Olšák <[email protected]>2013-11-04 19:07:57 +0100
commit2fd42001231b70ba1764b1455d642037d2d5fff5 (patch)
treeef251ea6dbab0dcf7d1637b460d318bbf8c59ff0 /src/gallium/drivers/radeonsi/radeonsi_pipe.c
parentd0cf73a4086e2ef256f6a21c4e30030cc07fc5b6 (diff)
radeonsi: implement uniform buffer objects
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index 6da4c5ebb53..f4d323310d8 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
@@ -444,7 +444,7 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
case PIPE_SHADER_CAP_MAX_CONSTS:
return 4096; /* actually only memory limits this */
case PIPE_SHADER_CAP_MAX_CONST_BUFFERS:
- return 1;
+ return NUM_PIPE_CONST_BUFFERS;
case PIPE_SHADER_CAP_MAX_PREDS:
return 0; /* FIXME */
case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED: